Commit 24294c5c authored by Stefan Behnel's avatar Stefan Behnel

fix language level passing in pyximport's PyImporter

parent 8133605f
...@@ -346,6 +346,7 @@ class PyImporter(PyxImporter): ...@@ -346,6 +346,7 @@ class PyImporter(PyxImporter):
_debug("importer found path %s for module %s", path, real_name) _debug("importer found path %s for module %s", path, real_name)
build_module(real_name, path, build_module(real_name, path,
pyxbuild_dir=self.pyxbuild_dir, pyxbuild_dir=self.pyxbuild_dir,
language_level=self.language_level,
inplace=self.inplace) inplace=self.inplace)
except Exception, e: except Exception, e:
if DEBUG_IMPORT: if DEBUG_IMPORT:
......
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