Author serhiy.storchaka
Recipients Arfrever, alex, barry, docs@python, eric.snow, ethan.furman, mark.dickinson, ncoghlan, serhiy.storchaka, vstinner
Date 2013-12-10.21:53:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
What about PyLong_AsSsize_t(), PyLong_AsUnsignedLong(), and PyLong_AsSize_t()? They are ignore __int__().

PyLong_AsVoidPtr() calls PyLong_AsLong(), PyLong_AsUnsignedLong(), PyLong_AsLongLong(), or PyLong_AsUnsignedLongLong() (depending on pointer's size and it's sign) and therefore can call or not call __int__, can raise or not raise TypeError on non-int subclasses with defined __int__().
Date User Action Args
2013-12-10 21:53:32serhiy.storchakasetrecipients: + serhiy.storchaka, barry, mark.dickinson, ncoghlan, vstinner, Arfrever, alex, docs@python, ethan.furman, eric.snow
2013-12-10 21:53:32serhiy.storchakasetmessageid: <>
2013-12-10 21:53:32serhiy.storchakalinkissue17576 messages
2013-12-10 21:53:32serhiy.storchakacreate