Author serhiy.storchaka
Recipients mark.dickinson, serhiy.storchaka
Date 2016-05-11.08:59:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1462957175.58.0.691304449898.issue26983@psf.upfronthosting.co.za>
In-reply-to
Content
The warning message is copied from __int__. As I understand, the conclusion of the Python-Dev discussion is that __int__, __float__, __complex__, etc should return exact int, float, complex, not subclasses. I have another patch that adds a warning for __complex__, and I am working on patches for other special methods. If my understanding is wrong, we should remove the deprecation warning for __int__.
History
Date User Action Args
2016-05-11 08:59:35serhiy.storchakasetrecipients: + serhiy.storchaka, mark.dickinson
2016-05-11 08:59:35serhiy.storchakasetmessageid: <1462957175.58.0.691304449898.issue26983@psf.upfronthosting.co.za>
2016-05-11 08:59:35serhiy.storchakalinkissue26983 messages
2016-05-11 08:59:35serhiy.storchakacreate