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 Oren Milman, ezio.melotti, mark.dickinson, serhiy.storchaka, terry.reedy
Date 2017-03-15.16:00:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489593620.85.0.600346022633.issue15988@psf.upfronthosting.co.za>
In-reply-to
Content
I think that raising OverflowError exceptions should be avoided if this is possible. If some function requires non-negative integer and raises ValueError for small negative integers and OverflowError for large negative integers, it is desirable to make it raising ValueError for all negative integers. If some function truncates integer arguments to specified limit it shouldn't raise OverflowError for large positive integers, but truncate them to that limit.
History
Date User Action Args
2017-03-15 16:00:20serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, mark.dickinson, ezio.melotti, Oren Milman
2017-03-15 16:00:20serhiy.storchakasetmessageid: <1489593620.85.0.600346022633.issue15988@psf.upfronthosting.co.za>
2017-03-15 16:00:20serhiy.storchakalinkissue15988 messages
2017-03-15 16:00:20serhiy.storchakacreate