[New-bugs-announce] [issue8727] test_import failure

Antoine Pitrou report at bugs.python.org
Sat May 15 23:11:01 CEST 2010

New submission from Antoine Pitrou <pitrou at free.fr>:

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'

components: Library (Lib), Tests
messages: 105825
nosy: pitrou
priority: normal
severity: normal
status: open
title: test_import failure
type: behavior
versions: Python 3.2

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list