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 vstinner
Recipients eric.smith, ezio.melotti, loewis, mark.dickinson, pitrou, python-dev, serhiy.storchaka, skrah, vstinner
Date 2012-04-27.11:19:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> You may call assert(_PyUnicode_CheckConsistency(v, 1)) to ensure
> that the newly created string is "consistent" (see the function
> for the details).

Done in the following changeset:

changeset:   76560:3bdcf0cab164
parent:      76558:5fea362b92fc
user:        Victor Stinner <>
date:        Thu Apr 26 00:37:21 2012 +0200
files:       Objects/longobject.c
long_to_decimal_string() and _PyLong_Format() check the consistency of newly
created strings using _PyUnicode_CheckConsistency() in debug mode
Date User Action Args
2012-04-27 11:19:55vstinnersetrecipients: + vstinner, loewis, mark.dickinson, pitrou, eric.smith, ezio.melotti, skrah, python-dev, serhiy.storchaka
2012-04-27 11:19:55vstinnersetmessageid: <>
2012-04-27 11:19:54vstinnerlinkissue14339 messages
2012-04-27 11:19:54vstinnercreate