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.

Author r.david.murray
Recipients BreamoreBoy, brett.cannon, eric.snow, jamadagni, jbeulich, matejcik, ncoghlan, r.david.murray
Date 2013-05-27.16:50:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1369673407.43.0.798956863659.issue6386@psf.upfronthosting.co.za>
In-reply-to
Content
When a script is executed by python, it does *not* import from the CWD, it imports from the *location of the script*.  From this, then, you can see that there are two possible interpretations of "the location of the script" when the script is a symlink, and we have chosen the more secure (and practical) one: the location of the real script file.
History
Date User Action Args
2013-05-27 16:50:07r.david.murraysetrecipients: + r.david.murray, brett.cannon, ncoghlan, matejcik, jbeulich, BreamoreBoy, eric.snow, jamadagni
2013-05-27 16:50:07r.david.murraysetmessageid: <1369673407.43.0.798956863659.issue6386@psf.upfronthosting.co.za>
2013-05-27 16:50:07r.david.murraylinkissue6386 messages
2013-05-27 16:50:07r.david.murraycreate