Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
fee2be12
Commit
fee2be12
authored
Jul 08, 2015
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable "tp_reserved" usage in PyPy
parent
b42bb54f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Cython/Utility/Coroutine.c
Cython/Utility/Coroutine.c
+2
-2
Cython/Utility/ModuleSetupCode.c
Cython/Utility/ModuleSetupCode.c
+1
-1
No files found.
Cython/Utility/Coroutine.c
View file @
fee2be12
...
...
@@ -1185,7 +1185,7 @@ static PyGetSetDef __pyx_Coroutine_getsets[] = {
{
0
,
0
,
0
,
0
,
0
}
};
#if PY_MAJOR_VERSION >= 3
#if
CYTHON_COMPILING_IN_CPYTHON &&
PY_MAJOR_VERSION >= 3
static
__Pyx_PyAsyncMethodsStruct
__pyx_Coroutine_as_async
=
{
__Pyx_Coroutine_await
,
/*am_await*/
0
,
/*am_aiter*/
...
...
@@ -1202,7 +1202,7 @@ static PyTypeObject __pyx_CoroutineType_type = {
0
,
/*tp_print*/
0
,
/*tp_getattr*/
0
,
/*tp_setattr*/
#if PY_MAJOR_VERSION >= 3
#if
CYTHON_COMPILING_IN_CPYTHON &&
PY_MAJOR_VERSION >= 3
&
__pyx_Coroutine_as_async
,
/*tp_as_async (tp_reserved)*/
#else
0
,
/*tp_reserved*/
...
...
Cython/Utility/ModuleSetupCode.c
View file @
fee2be12
...
...
@@ -189,7 +189,7 @@
#if PY_VERSION_HEX >= 0x030500B1
#define __Pyx_PyAsyncMethodsStruct PyAsyncMethods
#define __Pyx_PyType_AsAsync(obj) (Py_TYPE(obj)->tp_as_async)
#elif PY_MAJOR_VERSION >= 3
#elif
CYTHON_COMPILING_IN_CPYTHON &&
PY_MAJOR_VERSION >= 3
typedef
struct
{
unaryfunc
am_await
;
unaryfunc
am_aiter
;
...
...
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