<s> from substanced . util import postorder <EOL> import logging <EOL> _marker = object ( ) <EOL> logger = logging . getLogger ( '<STR_LIT>' ) <EOL> def evolve ( root ) : <EOL> logger . info ( <EOL> '<STR_LIT>' <EOL> ) <EOL> for obj in postorder ( root ) : <EOL> logger . info ( <EOL> '<STR_LIT>' % ( obj , ) <EOL> ) <EOL> objectid = getattr ( obj , '<STR_LIT>' , _marker ) <EOL> if objectid is _marker : <EOL> continue <EOL> if hasattr ( obj , '<STR_LIT>' ) : <EOL> continue <EOL> obj . __oid__ = objectid <EOL> del obj . __objectid__ </s>
