A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-June/120293.html below:

[Python-Dev] PEP 362 Third Revision

[Python-Dev] PEP 362 Third Revision [Python-Dev] PEP 362 Third RevisionPaul Moore p.f.moore at gmail.com
Fri Jun 15 14:14:41 CEST 2012
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
More information about the Python-Dev mailing list

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