Aahz keeps confusing me: > Any reason we can't require importer objects to be new-style classes, > which could then use __new__? (I vaguely recall some discussion about > this, but it should be documented in the PEP.) any reason we *should* require importer objects to be new-style classes? if you think raising exceptions is a problem, please say so. if you have a valid argument for using return values instead of exceptions (it's not like people will be installing thousands of hooks, so it's not obvious what the problem is), is there any reason not to allow people to use *any* callable object that can return a value? (including three-line wrappers for pre-2.2 classes). </F>
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