Message159220
2.100 - v = PyUnicode_DecodeASCII(p, &buffer[sz] - p, NULL);
...
2.104 + assert(p == PyUnicode_1BYTE_DATA(v));
2.105 return v;
2.106 }
You may call assert(_PyUnicode_CheckConsistency(v, 1)) to ensure that the newly created string is "consistent" (see the function for the details). |
|
Date |
User |
Action |
Args |
2012-04-24 22:06:27 | vstinner | set | recipients:
+ vstinner, loewis, mark.dickinson, pitrou, eric.smith, ezio.melotti, skrah, python-dev, serhiy.storchaka |
2012-04-24 22:06:27 | vstinner | set | messageid: <1335305187.61.0.0327030149603.issue14339@psf.upfronthosting.co.za> |
2012-04-24 22:06:27 | vstinner | link | issue14339 messages |
2012-04-24 22:06:26 | vstinner | create | |
|