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 serhiy.storchaka
Recipients mark.dickinson, serhiy.storchaka
Date 2016-05-11.10:20:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Here is updated patch. Differences:

* Deprecation warning is now emitted in functions accepting floats (like math.sqrt).
* Improved error messages. Now reported wrong type name and a type of wrong __float__ method.
* float() now returns the same object for exact float argument.

Could you propose better warning message?
Date User Action Args
2016-05-11 10:20:50serhiy.storchakasetrecipients: + serhiy.storchaka, mark.dickinson
2016-05-11 10:20:50serhiy.storchakasetmessageid: <>
2016-05-11 10:20:50serhiy.storchakalinkissue26983 messages
2016-05-11 10:20:49serhiy.storchakacreate