15
0
forked from pool/python-gevent
Files
python-gevent/use-libev-cffi.patch

24 lines
708 B
Diff
Raw Normal View History

From: Antonio Larrosa <alarrosa@suse.com>
Subject: Fix failing tests
libev-cext seems to be broken on i586, so use libev-cffi by default
(also, the gevent documentation mentions that upstream will make
libev-cffi the default soon [1]).
[1] http://www.gevent.org/loop_impls.html#libev
Index: gevent-1.4.0/src/gevent/_config.py
===================================================================
--- gevent-1.4.0.orig/src/gevent/_config.py
+++ gevent-1.4.0/src/gevent/_config.py
@@ -352,8 +352,8 @@ class Loop(ImportableSetting, Setting):
"""
default = [
- 'libev-cext',
'libev-cffi',
+ 'libev-cext',
'libuv-cffi',
] if not WIN else [
'libuv-cffi',