[issue2439] Patch to add a get_data function to pkgutil

Phillip J. Eby report at bugs.python.org
Fri Mar 21 13:35:09 CET 2008


Phillip J. Eby <pje at telecommunity.com> added the comment:

An easy way to test it: just change your load_module() to raise an 
AssertionError if the module is already in sys.modules, and the main 
body of the test to make two get_data() calls for the same module.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2439>
__________________________________


More information about the Python-bugs-list mailing list