On 15 June 2012 12:32, Nick Coghlan <[email protected]> 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
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to