Message332359
min_width сan be large negative number, and there are subtractions from it. It may be safer to replace the assert with something like min_width = Py_MAX(0, min_width). Or ensure that it is non-negative before calling _PyUnicode_InsertThousandsGrouping(). |
|
Date |
User |
Action |
Args |
2018-12-22 17:56:18 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, eric.smith, xtreak |
2018-12-22 17:56:17 | serhiy.storchaka | set | messageid: <1545501377.08.0.0770528567349.issue35560@roundup.psfhosted.org> |
2018-12-22 17:56:17 | serhiy.storchaka | link | issue35560 messages |
2018-12-22 17:56:17 | serhiy.storchaka | create | |
|