[issue10707] compileall is broken

Antoine Pitrou report at bugs.python.org
Tue Dec 14 23:04:04 CET 2010


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

$ ./python -m compileall
Traceback (most recent call last):
  File "/home/antoine/py3k/__svn__/Lib/runpy.py", line 160, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/home/antoine/py3k/__svn__/Lib/runpy.py", line 73, in _run_code
    exec(code, run_globals)
  File "/home/antoine/py3k/__svn__/Lib/compileall.py", line 223, in <module>
    exit_status = int(not main())
  File "/home/antoine/py3k/__svn__/Lib/compileall.py", line 205, in main
    if os.path.isdir(dest):
  File "/home/antoine/py3k/__svn__/Lib/genericpath.py", line 41, in isdir
    st = os.stat(s)
TypeError: Can't convert 'NoneType' object to str implicitly

----------
components: Library (Lib)
messages: 123980
nosy: benjamin.peterson, ncoghlan, pitrou
priority: high
severity: normal
status: open
title: compileall is broken
type: behavior
versions: Python 3.2

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


More information about the Python-bugs-list mailing list