New submission from Ananth Vijalapuram <[email protected]>:
I am trying to parse a very large XML file. Here is the output:
/usr/intel/bin/python3.7.4 crif_parser.py
Retrieved 3593891712 characters <- this is printed from my script
Traceback (most recent call last):
File "crif_parser.py", line 9, in <module>
tree = ET.fromstring(data)
File "/usr/intel/pkgs/python3/3.7.4/lib/python3.7/xml/etree/ElementTree.py",
line 1315, in XML
parser.feed(text)
OverflowError: size does not fit in an int
----------
components: XML
messages: 362416
nosy: Ananth Vijalapuram
priority: normal
severity: normal
status: open
title: ElementTree limitation
type: behavior
versions: Python 3.7
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue39713>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com