Commit c0dfb9c2 authored by Stefan Behnel's avatar Stefan Behnel

Use encoded string since `ModuleNode.full_module_name` may originate from different sources.

See https://github.com/cython/cython/pull/4764
parent 18b19ad0
...@@ -2633,7 +2633,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): ...@@ -2633,7 +2633,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
code.putln(code.error_goto_if_neg( code.putln(code.error_goto_if_neg(
'__Pyx_SetPackagePathFromImportLib(%s)' % ( '__Pyx_SetPackagePathFromImportLib(%s)' % (
code.globalstate.get_py_string_const( code.globalstate.get_py_string_const(
self.full_module_name).cname), EncodedString(self.full_module_name)).cname),
self.pos)) self.pos))
code.putln("}") code.putln("}")
......
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