Files
cpython/Objects
Guido van Rossum 4eadfa2b2e Fix from Greg Chapman from SF bug #695651: a complex subclass
constructor, when passed a single complex argument, returns the
argument unchanged.  This should be done only for the complex base
class; a complex subclass should of course cast the value to the
subclass in this case.

The fix also revealed a segfault in complex_getnewargs(): the argument
for the Py_BuildValue() format code "D" is the *address* of a
Py_complex struct, not the value.  (This corroborated by the API
documentation.)

I expect this needs to be backported to 2.2.3.
2003-03-02 13:51:47 +00:00
..
2000-05-02 18:34:30 +00:00
2002-08-06 22:12:52 +00:00
2001-08-29 23:54:21 +00:00
2003-02-15 14:45:12 +00:00
2003-02-19 03:19:29 +00:00
2002-11-23 09:13:40 +00:00
2003-01-03 21:22:08 +00:00