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 Niels.Heinen, brett.cannon, eric.araujo, jcea, pitrou, r.david.murray, vstinner
Date 2011-06-06.16:58:41
SpamBayes Score 2.1387275e-07
Marked as misclassified No
Message-id <1307379522.05.0.0112212275702.issue12238@psf.upfronthosting.co.za>
In-reply-to
Content
I've done a little poking around, and it looks like you are correct and I'm wrong. It appears that readline.so is or should be a special case.  I've added some people to nosy to see what they think.

Specifically, it appears that if I put a file that should shadow a library module that is imported at python startup time (eg: os.py) into my current working directory I still get the os.py from the appropriate lib directory, even though '' is first in my sys.path.  This is not how I thought it worked, but it is my observation.  I tested this on 2.6.6, 2.7.1 and 3.3 tip.
History
Date User Action Args
2011-06-06 16:58:42r.david.murraysetrecipients: + r.david.murray, brett.cannon, jcea, pitrou, vstinner, eric.araujo, Niels.Heinen
2011-06-06 16:58:42r.david.murraysetmessageid: <1307379522.05.0.0112212275702.issue12238@psf.upfronthosting.co.za>
2011-06-06 16:58:41r.david.murraylinkissue12238 messages
2011-06-06 16:58:41r.david.murraycreate