Message225859
> I think there are too many changes. Here is simpler patch which get rid of all warnings in Objects/unicodeobject.c on my computer (gcc 4.6.3, 32-bit Linux).
The purpose of my patch is not to make the compiler quiet, but to ensure that negative lengths are handled correctly: Python must raise an error if a length is negative.
For example, _PyUnicode_DecodeUnicodeInternal() doesn't check currently if the size is negative. I don't know exactly what happens if you pass a negative size. |
|
Date |
User |
Action |
Args |
2014-08-25 01:22:09 | vstinner | set | recipients:
+ vstinner, neologix, python-dev, serhiy.storchaka |
2014-08-25 01:22:09 | vstinner | set | messageid: <1408929729.48.0.0815315626142.issue22207@psf.upfronthosting.co.za> |
2014-08-25 01:22:09 | vstinner | link | issue22207 messages |
2014-08-25 01:22:09 | vstinner | create | |
|