[New-bugs-announce] [issue16804] python3 -S -m site fails
Antoine Pitrou
report at bugs.python.org
Fri Dec 28 21:22:43 CET 2012
New submission from Antoine Pitrou:
$ python3.4 -S -m site
sys.path = [
'',
'/home/antoine/opt/lib/python34.zip',
'/home/antoine/opt/lib/python3.4/',
'/home/antoine/opt/lib/python3.4/plat-linux',
'/home/antoine/opt/lib/python3.4/lib-dynload',
]
Traceback (most recent call last):
File "/home/antoine/opt/lib/python3.4/runpy.py", line 160, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/home/antoine/opt/lib/python3.4/runpy.py", line 73, in _run_code
exec(code, run_globals)
File "/home/antoine/opt/lib/python3.4/site.py", line 640, in <module>
_script()
File "/home/antoine/opt/lib/python3.4/site.py", line 612, in _script
"exists" if os.path.isdir(USER_BASE) else "doesn't exist"))
File "/home/antoine/opt/lib/python3.4/genericpath.py", line 42, in isdir
st = os.stat(s)
TypeError: stat: can't specify None for path argument
----------
components: Library (Lib)
messages: 178424
nosy: ncoghlan, pitrou
priority: normal
severity: normal
status: open
title: python3 -S -m site fails
type: behavior
versions: Python 3.3, Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16804>
_______________________________________
More information about the New-bugs-announce
mailing list