Commit e2492b10 authored by Stefan Behnel's avatar Stefan Behnel

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

--HG--
extra : transplant_source : %D2%E1%CDGC%11%8B%92%22%3C%27a%01Q%8F%FE%F0%D1ql
parent 528d9d8b
......@@ -9448,7 +9448,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