Antoine Pitrou <[email protected]> added the comment:
This can be narrowed down to the following test sequence:
$ ./python -E -m test.regrtest test_heapq test_import
test_heapq
test_import
Warning -- sys.path was modified by test_import
test test_import failed -- Traceback (most recent call last):
File "/home/antoine/py3k/__svn__/Lib/test/test_import.py", line 167, in
test_module_with_large_stack
exec('import ' + module)
File "<string>", line 1, in <module>
File "/home/antoine/py3k/__svn__/Lib/importlib/_bootstrap.py", line 151, in
decorated
return fxn(self, module)
File "/home/antoine/py3k/__svn__/Lib/importlib/_bootstrap.py", line 320, in
load_module
code_object = self.get_code(module.__name__)
File "/home/antoine/py3k/__svn__/Lib/importlib/_bootstrap.py", line 429, in
get_code
"object for {0!r}".format(fullname))
ImportError: no source or bytecode available to create code object for
'longlist'
test_heapq involves test.support.import_fresh_module().
----------
nosy: +barry, brett.cannon, ncoghlan
stage: -> needs patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue8727>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com