[issue30892] _elementtree: assertion error if stdlib copy module is overriden

STINNER Victor report at bugs.python.org
Mon Jul 10 12:47:29 EDT 2017


New submission from STINNER Victor:

The _elementtree fails with an assertion error if the stdlib copy module is overriden by the user.

haypo at selma$ mkdir copy/
haypo at selma$ touch copy/__init__.py
haypo at selma$ ./python -c 'import _elementtree'
python: Objects/abstract.c:153: PyObject_GetItem: Assertion `(item != NULL) ^ (PyErr_Occurred() != NULL)' failed.
Aborted (core dumped)

----------
messages: 298073
nosy: haypo
priority: normal
severity: normal
status: open
title: _elementtree: assertion error if stdlib copy module is overriden
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30892>
_______________________________________


More information about the Python-bugs-list mailing list