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 Hiroki Kiyohara, r.david.murray, xiang.zhang
Date 2015-10-01.13:55:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443707734.67.0.991529779458.issue25288@psf.upfronthosting.co.za>
In-reply-to
Content
This is not a bug, this is the way python works.  When running in interactive mode (only) the current directory is first on the path.

Now, should this behavior be changed?  I think we've discussed this before and decided not to change it (for backward compatibility reasons), but I think there was dissent and that increasing emphasis on security since that discussion might argue for a different outcome.  It's a python-dev mailing list level issue, in any case.
History
Date User Action Args
2015-10-01 13:55:34r.david.murraysetrecipients: + r.david.murray, xiang.zhang, Hiroki Kiyohara
2015-10-01 13:55:34r.david.murraysetmessageid: <1443707734.67.0.991529779458.issue25288@psf.upfronthosting.co.za>
2015-10-01 13:55:34r.david.murraylinkissue25288 messages
2015-10-01 13:55:34r.david.murraycreate