[issue38042] Crash on double list(lxml.etree.iterparse(f))

2019-09-06 Thread STINNER Victor
STINNER Victor added the comment: https://github.com/python/cpython/commit/8cbffc4d96d1da0fbc38da6f34f2da30c5ffd601 has been merged after 3.7.4 has been released, correct. I will be part of the next 3.7.5 release. About the workflow: we close a bug once the change is merged into the

[issue38042] Crash on double list(lxml.etree.iterparse(f))

2019-09-06 Thread Alexander Kurakin
Alexander Kurakin added the comment: Ok, thanks! Good that I was too lazy to open bug in June because our colleague did it better then me :) Seems like the fix doesn't present in current 3.7 version (3.7.4). Will try in 3.7.5 and will close UPD: Oh, closed? Ok. But *no*, it's not fixed in

[issue38042] Crash on double list(lxml.etree.iterparse(f))

2019-09-06 Thread STINNER Victor
STINNER Victor added the comment: I understand that this bug is a duplicate of bpo-37467 that I fixed recently in 3.7, 3.8 and master branches: commit f9b7457bd7f438263e0d2dd1f70589ad56a2585e Author: Victor Stinner Date: Mon Jul 1 16:51:18 2019 +0200 bpo-37467: Fix PyErr_Display()

[issue38042] Crash on double list(lxml.etree.iterparse(f))

2019-09-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Indeed, there is a bug in Python. It can be reproduced without lxml: $ ./python -c "raise SyntaxError('error', (b'file', 1, 2, 'text'))" Traceback (most recent call last): File "", line 1, in python: Objects/unicodeobject.c:397:

[issue38042] Crash on double list(lxml.etree.iterparse(f))

2019-09-06 Thread Alexander Kurakin
Alexander Kurakin added the comment: Yes, I do. Please read all. 1) According to https://bugs.launchpad.net/lxml/+bug/1833050 (by lxml author's opinion) it's not a lxml bug. 2) I wouldn't said that but according to backtrace we have crash at Python-time. 3) Moreover crash existence depends

[issue38042] Crash on double list(lxml.etree.iterparse(f))

2019-09-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This tracker is for bugs in CPython (the C implementation of Python). lxml is not a part of the standard library. Please use a proper tracker for reporting a bug in lxml. -- nosy: +serhiy.storchaka resolution: -> third party stage: -> resolved

[issue38042] Crash on double list(lxml.etree.iterparse(f))

2019-09-05 Thread Alexander Kurakin
Change by Alexander Kurakin : -- title: Crash on double list(lxml.etree.iterparse(f)) Edit -> Crash on double list(lxml.etree.iterparse(f)) ___ Python tracker ___

[issue38042] Crash on double list(lxml.etree.iterparse(f)) Edit

2019-09-05 Thread Alexander Kurakin
New submission from Alexander Kurakin : I have a crash in Python 3.x environments and don't have in 2.7. === Crashes in: Python 3.7.4, Anaconda, Linux 64bit, lxml 4.3.3 OR Python 3.7.4, Anaconda, Linux 64bit, lxml 4.4.1 OR Python 3.6.5, Gentoo Linux 64bit, lxml 4.3.3 test.py: import lxml