Commit afe1395f authored by Stefan Behnel's avatar Stefan Behnel

use old-style imports for all Py3 versions (the remaining support there was not reliable)

parent 8f2b34e0
......@@ -9572,7 +9572,7 @@ static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, long level) {
goto bad;
#if PY_VERSION_HEX >= 0x02050000
{
#if PY_VERSION_HEX >= 0x03030000
#if PY_MAJOR_VERSION >= 3
if (level == -1) {
if (strchr(__Pyx_MODULE_NAME, '.')) {
/* try package relative import first */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment