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 mjacob
Recipients brett.cannon, eric.snow, mjacob, ncoghlan
Date 2017-03-17.18:03:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489773810.33.0.635311957707.issue29830@psf.upfronthosting.co.za>
In-reply-to
Content
You're of course right that pyexpat is an extension module and not a builtin module.  I was confused because on PyPy it's a builtin module.

But the same question applies for ExtensionFileLoader.is_package().  It returns False in the case of pyexpat.  This function looks a bit strange to me anyway.  It assumes the definition of what a package is for pure Python modules and applies it to extension modules.
History
Date User Action Args
2017-03-17 18:03:30mjacobsetrecipients: + mjacob, brett.cannon, ncoghlan, eric.snow
2017-03-17 18:03:30mjacobsetmessageid: <1489773810.33.0.635311957707.issue29830@psf.upfronthosting.co.za>
2017-03-17 18:03:30mjacoblinkissue29830 messages
2017-03-17 18:03:30mjacobcreate