Jeroen Demeyer <> added the comment:

> 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()".


Python tracker <>
Python-bugs-list mailing list

Reply via email to