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/2002-April/023434.html below:

[Python-Dev] Problems with new-style classes and coercion

[Python-Dev] Problems with new-style classes and coercion [Python-Dev] Problems with new-style classes and coercionGuido van Rossum guido@python.org
Mon, 22 Apr 2002 14:54:34 -0400
> > This means that the + operator
> > doesn't call __coerce__.  For some reason, coerce() still calls it;
> > maybe that was a mistake.
> 
> Maybe; maybe not. Maybe it would be a good idea to issue a warning when
> a new-style class defines __coerce__.

I think I agree.  I'll get to this before 2.3 is released. ;-)

--Guido van Rossum (home page: http://www.python.org/~guido/)




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