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 rhettinger
Recipients Oren Milman, rhettinger, serhiy.storchaka
Date 2017-09-15.02:01:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1505440896.26.0.57504820511.issue31478@psf.upfronthosting.co.za>
In-reply-to
Content
It would make sense to verify that an actual int was returned and to raise a TypeError if it wasn't.  

Do you want to submit a PR (with a test case)?
History
Date User Action Args
2017-09-15 02:01:36rhettingersetrecipients: + rhettinger, serhiy.storchaka, Oren Milman
2017-09-15 02:01:36rhettingersetmessageid: <1505440896.26.0.57504820511.issue31478@psf.upfronthosting.co.za>
2017-09-15 02:01:36rhettingerlinkissue31478 messages
2017-09-15 02:01:36rhettingercreate