This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:18serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, eric.smith, xtreak
2018-12-22 17:56:17serhiy.storchakasetmessageid: <1545501377.08.0.0770528567349.issue35560@roundup.psfhosted.org>
2018-12-22 17:56:17serhiy.storchakalinkissue35560 messages
2018-12-22 17:56:17serhiy.storchakacreate