Author haypo
Recipients eli.bendersky, haypo, jkloth, scoder, serhiy.storchaka
Date 2017-09-18.07:32:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Python 2.7 is not affected because it doesn't implement tp_clear (it doesn't have xmlparser_gc_clear()), only xmlparser_dealloc() calls EXPAT(ParserFree)(self->parser).

I'm unable to reproduce the bug in Python 3.5 nor 3.6. creates a reference cycle the "except etree.ParseError as exc: e = exc  # must keep local reference!" which requires to trigger a garbage collection to clear the "parser" variable.
Date User Action Args
2017-09-18 07:32:39hayposetrecipients: + haypo, scoder, jkloth, eli.bendersky, serhiy.storchaka
2017-09-18 07:32:39hayposetmessageid: <>
2017-09-18 07:32:39haypolinkissue31499 messages
2017-09-18 07:32:39haypocreate