Message116175
Instead of
PyLong_FromLong((Py_uintptr_t) self);
use
PyLong_FromVoidPtr(self);
For the others, I suggest making length and allocated Py_ssize_t; this is likely a pervasive change. Of course, very few people will currently run into XML documents where some element has more than 2**31 children... You would need several TiB of main memory to represent it using ElementTree.
Fredrik, please indicate whether it is ok to make this kind of change, or whether it would need your explicit approval. |
|
Date |
User |
Action |
Args |
2010-09-12 11:37:53 | loewis | set | recipients:
+ loewis, effbot, pitrou, flox |
2010-09-12 11:37:53 | loewis | set | messageid: <1284291473.33.0.0194591891748.issue9783@psf.upfronthosting.co.za> |
2010-09-12 11:37:51 | loewis | link | issue9783 messages |
2010-09-12 11:37:51 | loewis | create | |
|