Nick Coghlan <ncogh...@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@python components: +Documentation, Tests nosy: +docs@python stage: -> needs patch type: -> enhancement versions: +Python 2.7, Python 3.2, Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14547> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com