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 paul.moore
Recipients brett.cannon, eric.snow, erik.bray, jdemeyer, ncoghlan, paul.moore, petr.viktorin, scoder, sth
Date 2018-08-05.18:33:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533494007.28.0.56676864532.issue32797@psf.upfronthosting.co.za>
In-reply-to
Content
If you're OK with that, I don't see the problem. My objection was with the claims that ExtensionLoader.get_source shouldn't return None or shouldn't exist. PEP 302 mandates that loaders have a get_source, and that get_source should return None if the loader can't supply source. And that's precisely what ExtensionLoader is doing.

So if we're agreed that there's no changes needed to PEP 302 (more accurately, the loader protocol as it exists now) or to ExtensionLoader, then I'm happy to let others work out a solution on that basis.
History
Date User Action Args
2018-08-05 18:33:27paul.mooresetrecipients: + paul.moore, brett.cannon, ncoghlan, scoder, petr.viktorin, erik.bray, eric.snow, sth, jdemeyer
2018-08-05 18:33:27paul.mooresetmessageid: <1533494007.28.0.56676864532.issue32797@psf.upfronthosting.co.za>
2018-08-05 18:33:27paul.moorelinkissue32797 messages
2018-08-05 18:33:27paul.moorecreate