Hello, Could you please explain why locals() allow me to create variables that are not legal in Python syntax. Example: locals()['1abc'] = 55. Calling of 1abc results with a syntax error. Shouldn't it be better to raise an error during the variable creation time?
Thank you Gökhan
-- http://mail.python.org/mailman/listinfo/python-list