import bpy
from bpy import *
でfrom bpy import *
context.object
とすると現在のObjectを正しくフォーカス出来ないbpy.context.object
とすると正常にフォーカスできるI found those in 2.69RC, though I have not maintain my codes yet.
With
import bpy
from bpy import *
from bpy import *
If writing
context.object
It can't catch current object.But
bpy.context.object
It can catch current object exactly.