STINNER Victor added the comment: > Sounds like a rather annoying regression.
PyImport_ImportModuleLevel() is part of the stable API. Is it an acceptable to not only change the default value but also fail with the previous *default* value? Can't we just drop the check "level < 0"? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15610> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com