Message159449
| 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 |
<1335525595.28.0.654998925129.issue14339@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> 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 <victor.stinner@gmail.com>
date: Thu Apr 26 00:37:21 2012 +0200
files: Objects/longobject.c
description:
long_to_decimal_string() and _PyLong_Format() check the consistency of newly
created strings using _PyUnicode_CheckConsistency() in debug mode |
|