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 Wolfgang Richter, brett.cannon, eric.smith, eric.snow, ncoghlan
Date 2016-02-11.23:26:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1455233167.99.0.441638625661.issue26344@psf.upfronthosting.co.za>
In-reply-to
Content
As I said, I can't look at your code unless you upload the file separately so I don't know how much help I can be. Did you check sys.modules to make sure the directory had not already been imported or sys.path_importer_cache to make sure the directory didn't already have a finder associated with it? I know sys.meta_path isn't bypassed as that's how the builtin and frozen importer work.

And have you tried this in a newer version of Python? 3.4 is no longer receiving bugfixes so even if there is a problem there it won't be changed. And you should try and use https://docs.python.org/3/library/importlib.html#importlib.util.find_spec instead of find_loader().
History
Date User Action Args
2016-02-11 23:26:08brett.cannonsetrecipients: + brett.cannon, ncoghlan, eric.smith, eric.snow, Wolfgang Richter
2016-02-11 23:26:07brett.cannonsetmessageid: <1455233167.99.0.441638625661.issue26344@psf.upfronthosting.co.za>
2016-02-11 23:26:07brett.cannonlinkissue26344 messages
2016-02-11 23:26:07brett.cannoncreate