[Python-bugs-list] [ python-Bugs-421973 ] Coercion rules incomplete

noreply@sourceforge.net noreply@sourceforge.net
Fri, 10 Aug 2001 12:17:46 -0700


Bugs item #421973, was opened at 2001-05-07 02:39
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=421973&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
>Priority: 6
Submitted By: Konrad Hinsen (hinsen)
Assigned to: Guido van Rossum (gvanrossum)
Summary: Coercion rules incomplete

Initial Comment:
The description of the coercion rules for numeric types
at
http://www.python.org/doc/current/ref/numeric-types.html
is incomplete. Step 3 says "We only get here if neither
x nor y is a class instance. " But step 2a also refers
to step 3 for the case that an explicit coercion
function returns None. It is not clear what happens in
that case.


----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-05-09 11:04

Message:
Logged In: YES 
user_id=3066

Guido, can you correct this?  I'm afraid I might get it
wrong.  The coercion rules are strange turf for me.  ;-(

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=421973&group_id=5470