Message223594
http://hg.python.org/cpython/file/2.7/Objects/unicodeobject.c#l840
Specifically it calls "PyObject_Str", which will return a PyStringObject * (cast to a PyObject *), and then calls "PyUnicode_GET_SIZE", which is of course totally incorrect.
This code was originally back-ported from 3.0 -> 2.6, so I imagine no one caught the bug then. |
|
Date |
User |
Action |
Args |
2014-07-21 17:38:29 | alex | set | recipients:
+ alex, vstinner, ezio.melotti |
2014-07-21 17:38:29 | alex | set | messageid: <1405964309.44.0.884917870385.issue22023@psf.upfronthosting.co.za> |
2014-07-21 17:38:29 | alex | link | issue22023 messages |
2014-07-21 17:38:29 | alex | create | |
|