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, eric.snow, mjacob, ncoghlan
Date 2017-03-18.18:21:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489861277.24.0.537408654907.issue29830@psf.upfronthosting.co.za>
In-reply-to
Content
ExtensionFileLoader.is_package() is accurate because it's not typical for an extension module to inject its own submodules like pyexpat is. Usually people who use an extension module in a package use it just for a submodule and not even as an __init__.

IOW there's a long history of built-ins and extensions not being in packages that people bump up against that no one has taken the time to try and straighten out due to it not being an issue on a regular basis.
History
Date User Action Args
2017-03-18 18:21:17brett.cannonsetrecipients: + brett.cannon, ncoghlan, eric.snow, mjacob
2017-03-18 18:21:17brett.cannonsetmessageid: <1489861277.24.0.537408654907.issue29830@psf.upfronthosting.co.za>
2017-03-18 18:21:17brett.cannonlinkissue29830 messages
2017-03-18 18:21:17brett.cannoncreate