Message387744
| Author |
eryksun |
| Recipients |
Kelvin You, amaury.forgeotdarc, belopolsky, eryksun, josh.r, meador.inge, paul.moore, steve.dower, tim.golden, zach.ware |
| Date |
2021年02月26日.20:32:21 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1614371541.98.0.460428407272.issue28474@roundup.psfhosted.org> |
| In-reply-to |
| Content |
format_error() can use format "L" (long long) and then check for a value in the accepted range `value >= LONG_MIN && value <= ULONG_MAX`. If the value is out of range, raise OverflowError. Otherwise assign the value to DWORD `code`. |
|