classification
Title: compileall is broken
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.2
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Add -h/--help option to compileall
View: 10453
Assigned To: Nosy List: benjamin.peterson, ncoghlan, pitrou, r.david.murray
Priority: high Keywords:

Created on 2010-12-14 22:04 by pitrou, last changed 2010-12-14 22:42 by r.david.murray. This issue is now closed.

Messages (1)
msg123980 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-12-14 22:04
$ ./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
History
Date User Action Args
2010-12-14 22:42:42r.david.murraysetstatus: open -> closed
resolution: duplicate
superseder: Add -h/--help option to compileall
stage: resolved
2010-12-14 22:04:16pitrousetnosy: + r.david.murray
2010-12-14 22:04:03pitroucreate