This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients effbot, flox, loewis, pitrou
Date 2010-09-12.11:37:51
SpamBayes Score 0.0008433817
Marked as misclassified No
Message-id <1284291473.33.0.0194591891748.issue9783@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-09-12 11:37:53loewissetrecipients: + loewis, effbot, pitrou, flox
2010-09-12 11:37:53loewissetmessageid: <1284291473.33.0.0194591891748.issue9783@psf.upfronthosting.co.za>
2010-09-12 11:37:51loewislinkissue9783 messages
2010-09-12 11:37:51loewiscreate