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/120011.html below:

[Python-Dev] Updated PEP 362 (Function Signature Object)

[Python-Dev] Updated PEP 362 (Function Signature Object) [Python-Dev] Updated PEP 362 (Function Signature Object)Steven D'Aprano steve at pearwood.info
Thu Jun 7 00:11:13 CEST 2012
Yury Selivanov wrote:

> I like the idea of 'foo(a)' and 'bar(a)' having the identical signatures,
> however, I don't think it's possible.  I.e. we can't make it that the
> 'signature(foo) is signature(bar)'.  We can implement the __eq__ operator
> though.

+1 to __eq__.

I don't think we should care about them being identical. Object identity is 
almost always an implementation detail.



-- 
Steven

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