[issue5211] Fix complex type to avoid coercion in 2.7.
Blair
report at bugs.python.org
Wed Feb 3 21:39:42 CET 2010
Blair <bidihall at gmail.com> added the comment:
I also agree that this bug was never more than a small wart. However, I'm now curious.
If Python 3 does not support coercion, I think that it will not be possible to write something like my xfloat class, derived from float (i.e., some binary operations between an xfloat and a float would return a float instead of an xfloat).
If I am correct in think that it would seem to be a step backward.
Will Python 3 deal with mixed types in some other way, or has this problem been abandoned altogether? If it is the latter, I think it is a pity.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5211>
_______________________________________
More information about the Python-bugs-list
mailing list