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 Arfrever, brett.cannon, madison.may, ncoghlan, ronaldoussoren
Date 2013-08-08.12:24:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
So this is bringing up a sticky situation that I ran across when initially implementing all of this: what should sys.path_importer_cache use as a key? '' would be what happens with Madison's option 3, and with option 1 it would be os.getcwd(). Now if you iterate through sys.path you won't find what '' connects to. Then again, it won't be accurate if you change the directory either.

So the question becomes should sys.path_importer_cache reflect exactly what is in sys.path or what should be cached for a finder based on what import should do (i.e. the full path and change based on the cwd)?
Date User Action Args
2013-08-08 12:24:46brett.cannonsetrecipients: + brett.cannon, ronaldoussoren, ncoghlan, Arfrever, madison.may
2013-08-08 12:24:46brett.cannonsetmessageid: <>
2013-08-08 12:24:46brett.cannonlinkissue18416 messages
2013-08-08 12:24:46brett.cannoncreate