[New-bugs-announce] [issue18416] Move to absolute file paths for module.__file__
Brett Cannon
report at bugs.python.org
Tue Jul 9 22:01:47 CEST 2013
New submission from Brett Cannon:
$ touch blah.py; ./python -c "import blah; print(blah.__file__)"
./blah.py
Should really change that to be an absolute path since the file's location is not accurate if you call os.chdir().
----------
components: Interpreter Core
messages: 192772
nosy: brett.cannon
priority: normal
severity: normal
stage: test needed
status: open
title: Move to absolute file paths for module.__file__
type: behavior
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18416>
_______________________________________
More information about the New-bugs-announce
mailing list