[python2.6] Backward syntax compatibility