Author serhiy.storchaka
Recipients alex, barry, docs@python, eric.snow, ethan.furman, mark.dickinson, ncoghlan, serhiy.storchaka, vstinner
Date 2013-08-21.11:32:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1377084756.17.0.93479943928.issue17576@psf.upfronthosting.co.za>
In-reply-to
Content
And yet one nitpick. For int subclasses which doesn't overload the __int__ method the patch calls default int.__int__ which creates a copy of int object. This is redundant in PyLong_As* functions because they only extract C int value and drop Python int object. So we can use int subclass object itself as good as int object.
History
Date User Action Args
2013-08-21 11:32:36serhiy.storchakasetrecipients: + serhiy.storchaka, barry, mark.dickinson, ncoghlan, vstinner, alex, docs@python, ethan.furman, eric.snow
2013-08-21 11:32:36serhiy.storchakasetmessageid: <1377084756.17.0.93479943928.issue17576@psf.upfronthosting.co.za>
2013-08-21 11:32:36serhiy.storchakalinkissue17576 messages
2013-08-21 11:32:36serhiy.storchakacreate