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-12.03:23:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1455247394.56.0.560633724485.issue26344@psf.upfronthosting.co.za>
In-reply-to
Content
I found the problem: you have a bug in your code at line 45 (the first line of WolfPathFinder.find_spec()). When you try and import a top-level package the path will always be None since __path__ doesn't exist for a top-level package. You only end up with a `path` value when there is a __path__ in the parent package. If you put your print() call before the None check it will print out that you actually did have the method called.
History
Date User Action Args
2016-02-12 03:23:14brett.cannonsetrecipients: + brett.cannon, ncoghlan, eric.smith, eric.snow, Wolfgang Richter
2016-02-12 03:23:14brett.cannonsetmessageid: <1455247394.56.0.560633724485.issue26344@psf.upfronthosting.co.za>
2016-02-12 03:23:14brett.cannonlinkissue26344 messages
2016-02-12 03:23:13brett.cannoncreate