Commit 80e1e530 authored by Stefan Behnel's avatar Stefan Behnel

fix compiled compiler module in Py3

parent 7103e3b6
...@@ -1277,7 +1277,7 @@ class GlobalState(object): ...@@ -1277,7 +1277,7 @@ class GlobalState(object):
w = self.parts['decls'] w = self.parts['decls']
cnames = [] cnames = []
for (type_cname, method_name, _), cname in sorted(self.cached_cmethods.iteritems()): for (type_cname, method_name, _), cname in sorted(self.cached_cmethods.items()):
cnames.append(cname) cnames.append(cname)
method_name_cname = self.get_interned_identifier(StringEncoding.EncodedString(method_name)).cname method_name_cname = self.get_interned_identifier(StringEncoding.EncodedString(method_name)).cname
w.putln('static __Pyx_CachedCFunction %s = {(PyObject*)&%s, &%s, 0, 0, 0};' % ( w.putln('static __Pyx_CachedCFunction %s = {(PyObject*)&%s, &%s, 0, 0, 0};' % (
......
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