tinyg

Results 2 comments of tinyg

Workaround is to run this code (only once!) ``` import clr def _(): from System.Threading import Monitor import __builtin__ __lock = object() base_import = __builtin__.__import__ def new_import(name, globals={}, locals={}, fromlist=[],...

Note that this code causes issues with using the clrtypes __metaclass__. Suggested fix is to add a lock around the contents of __import__ in Src\IronPython\Modules\Builtin.cs