Message289679
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. |
|
Date |
User |
Action |
Args |
2017-03-15 16:00:20 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, mark.dickinson, ezio.melotti, Oren Milman |
2017-03-15 16:00:20 | serhiy.storchaka | set | messageid: <1489593620.85.0.600346022633.issue15988@psf.upfronthosting.co.za> |
2017-03-15 16:00:20 | serhiy.storchaka | link | issue15988 messages |
2017-03-15 16:00:20 | serhiy.storchaka | create | |
|