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/2003-October/039666.html below:

[Python-Dev] Re: the "3*x works w/o __rmul__" bug

[Python-Dev] Re: the "3*x works w/o __rmul__" bug [Python-Dev] Re: the "3*x works w/o __rmul__" bugGreg Ewing greg at cosc.canterbury.ac.nz
Mon Oct 27 19:04:24 EST 2003
Alex Martelli <aleaxit at yahoo.com>:

> Nobody's asking for 3.0*x to work where x is a user-coded type
> without an __rmul__; rather, the point is that 3*x should fail too,
> and ideally they'd have the same clear error message as 3+x
> gives when the type has no __radd__.

Okay, that makes sense.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+

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