On 15 June 2012 12:32, Nick Coghlan <ncoghlan at gmail.com> wrote: > Now, what a function *could* do is set __signature__ to a Signature > subclass that provided an additional "validate()" method, or provided > arbitrary additional information about supported features. That's a > perfectly reasonable option. It might be worth mentioning this option in the PEP - it hadn't occurred to me that using subclasses of Signature would be something people could do... Having said that, I also find it hard to imagine a case where I'd check is_implemented (Larry's explanation notwithstanding). 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