This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients gumtree, mark.dickinson, meador.inge
Date 2010-02-03.14:12:07
SpamBayes Score 4.73432e-11
Marked as misclassified No
Message-id <>
Yes, I'd certainly be interested in reviewing a patch.  Though the current behaviour is at most a minor wart, and since it's gone in Python 3.x the motivation to fix it isn't huge. :)

> Where as I think gumtree wants the xcomplex case to behave as
> the xfloat case, e.g. ...

Yes, that was what I was proposing.  But as you point out, the new behaviour wouldn't even match the behaviour of Python 3.x, so it really wouldn't be a terribly useful change.

> However, if we are going to do that then we might as well just
> backport the whole removal of coercion.

That's not really an option:  it has the potential to break existing code that uses coercion.  Removing coercion in Python 2.x would require at least a PEP plus one version's worth of DeprecationWarning.  And given that it currently looks as though Python 2.8 isn't likely to happen at all, that would likely be a wasted effort.
Date User Action Args
2010-02-03 14:12:10mark.dickinsonsetrecipients: + mark.dickinson, gumtree, meador.inge
2010-02-03 14:12:10mark.dickinsonsetmessageid: <>
2010-02-03 14:12:08mark.dickinsonlinkissue5211 messages
2010-02-03 14:12:07mark.dickinsoncreate