Message210555
I slightly favor the ValueError patch because there is only a single exception
to catch. PyLong_AsUnsignedLong() also raises OverflowError for both positive
values that are too large and for negative values.
Perhaps the error message could contain the actual range of allowed values,
especially since LONG_MAX differs across platforms.
The drawback is that "outrageously" would have to go then. :) |
|
Date |
User |
Action |
Args |
2014-02-07 20:55:08 | skrah | set | recipients:
+ skrah, mark.dickinson, ncoghlan, pitrou, vstinner, gdr@garethrees.org |
2014-02-07 20:55:08 | skrah | link | issue20539 messages |
2014-02-07 20:55:08 | skrah | create | |
|