This commit is contained in:
parent
c2cd626497
commit
cb2916a714
|
@ -564,6 +564,9 @@ Tests
|
||||||
Build
|
Build
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
- Issue #15923: fix a mistake in asdl_c.py that resulted in a TypeError after
|
||||||
|
2801bf875a24 (see #15801).
|
||||||
|
|
||||||
- Issue #11715: Fix multiarch detection without having Debian development
|
- Issue #11715: Fix multiarch detection without having Debian development
|
||||||
tools (dpkg-dev) installed.
|
tools (dpkg-dev) installed.
|
||||||
|
|
||||||
|
|
|
@ -1010,7 +1010,7 @@ class ObjVisitor(PickleVisitor):
|
||||||
self.emit("case %s:" % t.name, 2)
|
self.emit("case %s:" % t.name, 2)
|
||||||
self.emit("Py_INCREF(%s_singleton);" % t.name, 3)
|
self.emit("Py_INCREF(%s_singleton);" % t.name, 3)
|
||||||
self.emit("return %s_singleton;" % t.name, 3)
|
self.emit("return %s_singleton;" % t.name, 3)
|
||||||
self.emit("default:" % name, 2)
|
self.emit("default:", 2)
|
||||||
self.emit('/* should never happen, but just in case ... */', 3)
|
self.emit('/* should never happen, but just in case ... */', 3)
|
||||||
code = "PyErr_Format(PyExc_SystemError, \"unknown %s found\");" % name
|
code = "PyErr_Format(PyExc_SystemError, \"unknown %s found\");" % name
|
||||||
self.emit(code, 3, reflow=False)
|
self.emit(code, 3, reflow=False)
|
||||||
|
|
Loading…
Reference in New Issue