This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 2022-04-11 14:57 by admin. 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
2022-04-11 14:57:10adminsetgithub: 54916
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