On 24/04/07, Brett Cannon <brett at python.org> wrote: > Not if you read the PEP. It doesn't explicitly say what should happen. > > I want to standardize on raising ImportError. The PEP itself has two > ways of signaling an error; find_module() returns None instead of > raising an error to signal it can't do something while path hooks > raise ImportError. I just want to be as explicit as possible. I'm happy with that. As far as I remember, that was the original intention - and you're right, it should be made explicit. Paul.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4