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
9074af44
Commit
9074af44
authored
Jun 25, 2015
by
Jason Madden
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'cython_abs_import' of
https://github.com/fantix/gevent
into pr390
parents
384ccb69
9e2fbdf3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
3 deletions
+23
-3
gevent/core.ppyx
gevent/core.ppyx
+4
-3
greentest/test__refcount_core.py
greentest/test__refcount_core.py
+13
-0
known_failures.py
known_failures.py
+6
-0
No files found.
gevent/core.ppyx
View file @
9074af44
...
@@ -2,11 +2,12 @@
...
@@ -2,11 +2,12 @@
cimport cython
cimport cython
cimport libev
cimport libev
from python cimport *
from python cimport *
import sys
# Work around lack of absolute_import in Cython
# Work around lack of absolute_import in Cython
# Note for PY3: not doing so will leave reference to locals() on import
sys = __import__('sys', level=0)
os = __import__('os', level=0)
os = __import__('os', level=0)
import traceback
traceback = __import__('traceback', level=0)
import signal as signalmodule
signalmodule = __import__('signal', level=0)
__all__ = ['get_version',
__all__ = ['get_version',
...
...
greentest/test__refcount_core.py
0 → 100644
View file @
9074af44
import
weakref
class
Dummy
:
def
__init__
(
self
):
__import__
(
'gevent.core'
)
assert
weakref
.
ref
(
Dummy
())()
is
None
from
gevent
import
socket
assert
weakref
.
ref
(
socket
.
socket
())()
is
None
known_failures.py
View file @
9074af44
...
@@ -54,6 +54,12 @@ if LEAKTEST:
...
@@ -54,6 +54,12 @@ if LEAKTEST:
if
PYPY
:
if
PYPY
:
FAILING_TESTS
+=
[
FAILING_TESTS
+=
[
# Different in PyPy:
# PyPy has no refcount
# http://pypy.readthedocs.org/en/latest/cpython_differences.html#differences-related-to-garbage-collection-strategies
'test__refcount_core.py'
,
# Not implemented:
# Not implemented:
# ---
# ---
...
...
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