[issue24268] PEP 489 -- Multi-phase extension module initialization

Stefan Behnel report at bugs.python.org
Fri May 29 15:57:04 CEST 2015


Stefan Behnel added the comment:

I'm seeing crashes with this assertion in Cython test modules:

python: ./Python/importdl.c:75: get_encoded_name: Assertion `(((PyObject*)(encoded))->ob_refcnt) == 1' failed.

The problem seems to be that the module name is only one character long ("a"), and single character byte strings are interned.

----------
nosy: +scoder

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


More information about the Python-bugs-list mailing list