Blender 2.8, API, select_set( action = "SELECT") TypeError According to Blender 2.8 WIKI API changes,
 the following script is now obsolete:

bpy.context.object.select = True


replaced with:

bpy.context.object.select_set( action = "SELECT")


However that's throwing a TypeError: required paramater "state" not specified..
The answer is:

bpy.context.object.select_set( state = True, view_layer = None)


That's the right syntax in Blender 2.8 Beta to the date, apparently the WIKI is not updated