sgzwiz / brython

Automatically exported from code.google.com/p/brython
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

globals and locals not supported #99

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. globals()
2. locals()
3.

What is the expected output? 
a dictionary containing the global scope variables or local scope variables

What do you see instead?
RuntimeError: ReferenceError: globals is not defined

Please use labels and text to provide additional information.
several modules (such as hashlib.py) use globals() and locals() so it would be 
great if these were supported.

Original issue reported on code.google.com by billy.earney@gmail.com on 12 Mar 2013 at 9:54