Replacement for locals() ???

Gabriel Cooper gabriel.cooper at
Fri Jul 30 22:54:26 CEST 2004

Harald Armin Massa wrote:

>{"id":id, "surename":surename} , but that would be very very
Are you experiencing a slow down due to using locals() or a significant 
performance increase by using the above method? If not, why switch away 
from locals?

More information about the Python-list mailing list