[issue5211] Fix complex type to avoid coercion in 2.7.

Meador Inge report at bugs.python.org
Sat Feb 6 16:11:11 CET 2010


Meador Inge <meadori at gmail.com> added the comment:

> if complex were made 'new-style' in 2.7, then it *would* be possible to > write fairly obvious code (not using coerce or __coerce__) that operated > in the same way in both 2.7 and 3.2.  So I still think it's worth 
> considering.

Agreed.  I have attached a patch with src, test, and doc changes.

----------
Added file: http://bugs.python.org/file16148/issue-5211-patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5211>
_______________________________________


More information about the Python-bugs-list mailing list