chiark
/
gitweb
/
~mdw
/
mLib-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extract Subversion ignore data.
[mLib-python]
/
sel-base.pyx
diff --git
a/sel-base.pyx
b/sel-base.pyx
index 6a5e2c39b39c38272240a2944117486ac9cb9eab..e7b4fbe7329a9a6a51132cc95772834de8fb3f3b 100644
(file)
--- a/
sel-base.pyx
+++ b/
sel-base.pyx
@@
-28,11
+28,7
@@
cdef sel_state _sel
def select():
cdef sel_state _sel
def select():
- cdef int rc
- PyEval_ReleaseLock()
- rc = sel_select(&_sel)
- PyEval_AcquireLock()
- if rc and errno != EINTR and errno != EAGAIN:
+ if sel_select(&_sel) and errno != EINTR and errno != EAGAIN:
_oserror()
sel_init(&_sel)
_oserror()
sel_init(&_sel)