Message 311896 - Python tracker

Message311896

Author jdemeyer
Recipients erik.bray, jdemeyer
Date 2018-02-09.16:13:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1518192815.72.0.467229070634.issue32797@psf.upfronthosting.co.za>
In-reply-to
Content
> Why? What would that help with? PEP 302 says get_source() can return None [if] no sources are found.

Returning None implies that it's absolutely impossible that there are sources to be found. But in certain cases (in the case of Cython), extension modules do have sources. So ExtensionFileLoader should assume that there may or may not be sources to be found. That is signalled by not implementing "get_source()".
History
Date User Action Args
2018-02-09 16:13:35jdemeyersetrecipients: + jdemeyer, erik.bray
2018-02-09 16:13:35jdemeyersetmessageid: <1518192815.72.0.467229070634.issue32797@psf.upfronthosting.co.za>
2018-02-09 16:13:35jdemeyerlinkissue32797 messages
2018-02-09 16:13:35jdemeyercreate