[issue7140] imp.new_module does not function correctly if the module is returned from a function and used directly

Jamie Kirkpatrick report at bugs.python.org
Thu Oct 15 13:34:08 CEST 2009


Jamie Kirkpatrick <jkp at kirkconsulting.co.uk> added the comment:

Updated the testcase to show that the __dict__ for the module is incorrect 
unless the module is assigned to a temp variable.

----------
Added file: http://bugs.python.org/file15134/testcase.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7140>
_______________________________________


More information about the Python-bugs-list mailing list