Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
9c5d4d52
Commit
9c5d4d52
authored
Aug 05, 2015
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Import gevent.core.loop from gevent.__init__ on PyPy. Fixes #619.
parent
dde3100c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
changelog.rst
changelog.rst
+10
-1
gevent/__init__.py
gevent/__init__.py
+10
-0
No files found.
changelog.rst
View file @
9c5d4d52
...
...
@@ -7,7 +7,16 @@
Unreleased
==========
- Nothing yet.
- Fix an ``AttributeError`` from ``gevent.monkey.patch_builtins`` on
Python 2 when the `future`_ library is also installed. Reported by
Carlos Sanchez.
- PyPy: Fix a ``DistutilsModuleError`` or ``ImportError`` if the CFFI
module backing ``gevent.core`` needs to be compiled when the hub is
initialized. Now, the module will be compiled when gevent is
imported. Reported in :issue:`619` by Thinh Nguyen with
contributions by Jay Oster and Matt Dupre.
.. _future: http://python-future.org
1.1b2 (Aug 5, 2015)
===================
...
...
gevent/__init__.py
View file @
9c5d4d52
...
...
@@ -70,3 +70,13 @@ def __dependencies_for_freezing():
import
signal
del
__dependencies_for_freezing
if
PYPY
:
# We need to make sure that the CFFI compilation is complete if
# need be. Without this, we can get ImportError(ImportError:
# Cannot import 'core' from ...) from the hub or
# DistutilsModuleError (on OS X) depending on who first imports and inits
# the hub. See https://github.com/gevent/gevent/issues/619 (There
# is no automated test for this.)
from
gevent.core
import
loop
del
loop
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment