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 brett.cannon
Recipients brett.cannon, djc, ncoghlan
Date 2012-11-28.18:10:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354126246.93.0.78246486688.issue16570@psf.upfronthosting.co.za>
In-reply-to
Content
Glad it makes sense now. =) I was writing my reply while you sent yours.

Anyway, your PYTHONPATH setting goes on to sys.path *after* the directory containing the script being executed. This is so that when you execute Python code somewhere it will get the local modules and packages it expects and not some random one you accidentally masked using PYTHONPATH.
History
Date User Action Args
2012-11-28 18:10:46brett.cannonsetrecipients: + brett.cannon, ncoghlan, djc
2012-11-28 18:10:46brett.cannonsetmessageid: <1354126246.93.0.78246486688.issue16570@psf.upfronthosting.co.za>
2012-11-28 18:10:46brett.cannonlinkissue16570 messages
2012-11-28 18:10:46brett.cannoncreate