<p><br>
On May 8, 2012 2:21 AM, "Antoine Pitrou" <<a href="mailto:solipsis@pitrou.net">solipsis@pitrou.net</a>> wrote:<br>
><br>
> In any case, do note that returning something else than either a loader<br>
> or None already breaks the API, AFAICT. Existing code calling<br>
> find_module() will have to be adapted... Which is perhaps worse than<br>
> the perceived migration problem in PEP 382.</p>
<p>382 would have had the same problem. </p>
<p>Given that sys.path already holds strings, as do __path__ attributes, I don't see any value in adding a separate PathEntry type just for signalling purposes. </p>
<p>However, I do think we need to give more thought to allowing old finders to gracefully degrade by reporting "not found" instead of throwing an error. Will write more on that when I get to a real computer :)</p>
<p>--<br>
Sent from my phone, thus the relative brevity :) </p>