Hello,
Apparently python-pyrex doesn't do its job of translating NULL into
None. Could you try the attached patch?
Samuel
Index: Bindings/Python/brlapi.pyx
===================================================================
--- Bindings/Python/brlapi.pyx (révision 4682)
+++ Bindings/Python/brlapi.pyx (copie de travail)
@@ -83,7 +83,8 @@
self.brlerrno = c_brlapi.brlapi_error.brlerrno
self.libcerrno = c_brlapi.brlapi_error.libcerrno
self.gaierrno = c_brlapi.brlapi_error.gaierrno
- self.errfun = c_brlapi.brlapi_error.errfun
+ if (c_brlapi.brlapi_error.errfun):
+ self.errfun = c_brlapi.brlapi_error.errfun
def __str__(self):
cdef c_brlapi.brlapi_error_t error
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://mielke.cc/mailman/listinfo/brltty