[docs] [issue14547] Python symlink to script behaves unexpectedly
Nick Coghlan
report at bugs.python.org
Thu Apr 12 03:31:16 CEST 2012
Nick Coghlan <ncoghlan at gmail.com> added the comment:
Specifically, we end up calling os.realpath() (or the C level equivalent) when initialising __main__.__file__ and sys.path[0].
Agreed this behaviour should be documented (and tested!) explicitly.
----------
assignee: -> docs at python
components: +Documentation, Tests
nosy: +docs at python
stage: -> needs patch
type: -> enhancement
versions: +Python 2.7, Python 3.2, Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14547>
_______________________________________
More information about the docs
mailing list