Message302385
Minimal reproducer seems to be this:
----------
import xml.etree.ElementTree as etree
def test():
parser = etree.XMLParser()
try:
parser.close()
except etree.ParseError as exc:
e = exc # must keep local reference!
test()
----------
The master gitrev I tested is 132a7d7cdbc7cb89fa1c1f4e8192241c3d68f549
Since this happens during GC and finalisation, it's quite possible that it's not a bug in ET per se. It might just be a prematurely cleared reference in some tp_clear(), or something like that. (Changing ticket title appropriately.) |
|
Date |
User |
Action |
Args |
2017-09-17 20:28:16 | scoder | set | recipients:
+ scoder, vstinner, jkloth, eli.bendersky, serhiy.storchaka |
2017-09-17 20:28:16 | scoder | set | messageid: <1505680096.74.0.861613236154.issue31499@psf.upfronthosting.co.za> |
2017-09-17 20:28:16 | scoder | link | issue31499 messages |
2017-09-17 20:28:16 | scoder | create | |
|