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 mark.dickinson, serhiy.storchaka
Date 2012-10-20.11:56:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Is there a new feature, not a bugfix?

There's an ongoing argument about that on the python-dev thread. :-)  But yes, I think this needs a doc update---even if it's considered a bugfix, the current docs could be clarified.


"Should return a value of the appropriate type."  My interpretation of that is that __int__ should return an int, __float__ a float, __complex__ a complex number;  with this change, that interpretation no longer works.

I'll update the patch (and add a Misc/NEWS entry, too).

Date User Action Args
2012-10-20 11:56:17mark.dickinsonsetrecipients: + mark.dickinson, serhiy.storchaka
2012-10-20 11:56:17mark.dickinsonsetmessageid: <>
2012-10-20 11:56:17mark.dickinsonlinkissue16290 messages
2012-10-20 11:56:17mark.dickinsoncreate