delay in python

I use python for parenting object , but this delayed. WHY??? :frowning:

import GameLogic as g
o = g.getCurrentController().getOwner()
o.setPosition(g.getCurrentScene().getObjectList()["OBA"].getPosition())
o.setOrientation(g.getCurrentScene().getObjectList()["OBA"].getOrientation()) 

because it only takes effect after the current logic tick, just like how adding actuators more than once doesn’t have an effect, and the add object actuator adds on the next logic tick, and how messages don’t arrive instantly … and stuff