Message 332359 - Python tracker (original) (raw)
Message332359
Author | serhiy.storchaka |
---|---|
Recipients | eric.smith, serhiy.storchaka, vstinner, xtreak |
Date | 2018-12-22.17:56:17 |
SpamBayes Score | -1.0 |
Marked as misclassified | Yes |
Message-id | 1545501377.08.0.0770528567349.issue35560@roundup.psfhosted.org |
In-reply-to |
Content |
---|
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(). |
History | |||
---|---|---|---|
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 |