Re: PEP 420 issue: extend_path
"Eric V. Smith" <[email protected]>
| Newsgroups | gmane.comp.python.import |
|---|---|
| Message-ID | <[email protected]> |
On 05/07/2012 12:19 PM, Antoine Pitrou wrote: > In any case, do note that returning something else than either a loader > or None already breaks the API, AFAICT. Existing code calling > find_module() will have to be adapted... Which is perhaps worse than > the perceived migration problem in PEP 382. Right. I'm still looking at Martin's message from this morning. I had assumed that all callers of find_module() were in importlib, but obviously that's not correct. Are there any callers of find_module() outside of the standard library? That would be reason to invent a new API, instead of trying to reuse find_module(). Eric.