chiark / gitweb /
utils.pyx (_getfd): Hack around Pyrex exception-handling bugs.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 9 Sep 2017 22:17:47 +0000 (23:17 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 10 Sep 2017 10:28:16 +0000 (11:28 +0100)
commitc316167fdcbce41e8cc731e8c19cb00f53c1b9cd
tree11206f1a335480f0d2ce2b83fdc0bfd5c4ddb14f
parentf0bf14e99b8ee5581c826fa857676440de2846c4
utils.pyx (_getfd): Hack around Pyrex exception-handling bugs.

It seems that Pyrex has some nasty bugs here.  Most obviously, it fails
to cancel the exception when handling it.  But even then, there's a
code-generation bug around returning in an `except' block which leads to
a null-pointer dereference.

These are Debian #875284 and #875285.
defs.pxi
utils.pyx