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
da22c524
Commit
da22c524
authored
Mar 21, 2016
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
the cffi module is pre-compiled so no need to pre-import anymore. refs #619
parent
0e63721d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
gevent/__init__.py
gevent/__init__.py
+0
-12
No files found.
gevent/__init__.py
View file @
da22c524
...
@@ -48,7 +48,6 @@ if sys.platform == 'win32':
...
@@ -48,7 +48,6 @@ if sys.platform == 'win32':
del
socket
del
socket
from
gevent.hub
import
get_hub
,
iwait
,
wait
from
gevent.hub
import
get_hub
,
iwait
,
wait
from
gevent._compat
import
PYPY
from
gevent.greenlet
import
Greenlet
,
joinall
,
killall
from
gevent.greenlet
import
Greenlet
,
joinall
,
killall
joinall
=
joinall
# export for pylint
joinall
=
joinall
# export for pylint
spawn
=
Greenlet
.
spawn
spawn
=
Greenlet
.
spawn
...
@@ -127,14 +126,3 @@ def __dependencies_for_freezing():
...
@@ -127,14 +126,3 @@ def __dependencies_for_freezing():
import
signal
as
_signal
import
signal
as
_signal
del
__dependencies_for_freezing
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.)
# XXX: As of 1.1, which prebuilds at install time, this is probably pointless
from
gevent.core
import
loop
# pylint:disable=no-name-in-module
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