A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2000-August/008719.html below:

[Python-Dev] PyNumber_*() binary operations & coercion

[Python-Dev] PyNumber_*() binary operations & coercionThomas Wouters thomas@xs4all.net
Thu, 24 Aug 2000 15:14:55 +0200
On Thu, Aug 24, 2000 at 09:00:56AM -0500, Guido van Rossum wrote:
> > I just hope that with all these new operators you haven't
> > closed the door for switching to argument based handling of
> > coercion.

> Far from it!  Actually, the inplace operators won't do any coercions
> when the left argument supports the inplace version, and otherwise
> exactly the same rules apply as for the non-inplace version.  (I
> believe this isn't in the patch yet, but it will be when Thomas checks
> it in.)

Exactly. (Actually, I'm again re-working the patch: If I do it the way I
intended to, you'd sometimes get the 'non in-place' error messages, instead
of the in-place ones. But the result will be the same.)

-- 
Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!



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