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 vstinner
Recipients loewis, pitrou, vstinner
Date 2010-05-26.21:55:00
SpamBayes Score 0.00015305962
Marked as misclassified No
Message-id <1274910901.82.0.126429179342.issue8651@psf.upfronthosting.co.za>
In-reply-to
Content
Another test (only requires ~2 GB of memory, not 4 GB or more) for the patch:

import _elementtree
def test():
    parser=_elementtree.XMLParser()
    text='s' * (2**31 + 10)
    try:
        parser.feed(text)
    except OverflowError as err:
        print("ok: %s" % err)
        return
    except:
        pass
    print("error: OverflowError not raised")
test()
History
Date User Action Args
2010-05-26 21:55:01vstinnersetrecipients: + vstinner, loewis, pitrou
2010-05-26 21:55:01vstinnersetmessageid: <1274910901.82.0.126429179342.issue8651@psf.upfronthosting.co.za>
2010-05-26 21:55:00vstinnerlinkissue8651 messages
2010-05-26 21:55:00vstinnercreate