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
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
cython
Commits
4becc815
Commit
4becc815
authored
May 31, 2019
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '0.29.x'
parents
0919f3e1
f10a0a39
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
44 additions
and
0 deletions
+44
-0
CHANGES.rst
CHANGES.rst
+10
-0
Cython/Compiler/Nodes.py
Cython/Compiler/Nodes.py
+3
-0
Cython/Compiler/TypeSlots.py
Cython/Compiler/TypeSlots.py
+1
-0
Cython/Utility/AsyncGen.c
Cython/Utility/AsyncGen.c
+12
-0
Cython/Utility/Coroutine.c
Cython/Utility/Coroutine.c
+12
-0
Cython/Utility/CythonFunction.c
Cython/Utility/CythonFunction.c
+6
-0
No files found.
CHANGES.rst
View file @
4becc815
...
...
@@ -139,6 +139,16 @@ Other changes
*
Support
for
Python
2.6
was
removed
.
0.29.10
(
2019
-
06
-
0
?)
====================
Bugs
fixed
----------
*
Fix
compile
errors
in
CPython
3.8
b1
due
to
the
new
"tp_vectorcall"
slots
.
(
Github
issue
#
2976
)
0.29.9
(
2019
-
05
-
29
)
===================
...
...
Cython/Compiler/Nodes.py
View file @
4becc815
...
...
@@ -5032,7 +5032,10 @@ class CClassDefNode(ClassDefNode):
code
.
error_goto
(
entry
.
pos
)))
# Don't inherit tp_print from builtin types, restoring the
# behavior of using tp_repr or tp_str instead.
# ("tp_print" was renamed to "tp_vectorcall_offset" in Py3.8b1)
code
.
putln
(
"#if PY_VERSION_HEX < 0x030800B1"
)
code
.
putln
(
"%s.tp_print = 0;"
%
typeobj_cname
)
code
.
putln
(
"#endif"
)
# Use specialised attribute lookup for types with generic lookup but no instance dict.
getattr_slot_func
=
TypeSlots
.
get_slot_code_by_name
(
scope
,
'tp_getattro'
)
...
...
Cython/Compiler/TypeSlots.py
View file @
4becc815
...
...
@@ -916,6 +916,7 @@ slot_table = (
EmptySlot
(
"tp_del"
),
EmptySlot
(
"tp_version_tag"
),
EmptySlot
(
"tp_finalize"
,
ifdef
=
"PY_VERSION_HEX >= 0x030400a1"
),
EmptySlot
(
"tp_vectorcall"
,
ifdef
=
"PY_VERSION_HEX >= 0x030800b1"
),
)
#------------------------------------------------------------------------------------------
...
...
Cython/Utility/AsyncGen.c
View file @
4becc815
...
...
@@ -421,6 +421,9 @@ static PyTypeObject __pyx_AsyncGenType_type = {
#elif PY_VERSION_HEX >= 0x030400a1
0
,
/* tp_finalize */
#endif
#if PY_VERSION_HEX >= 0x030800b1
0
,
/*tp_vectorcall*/
#endif
};
...
...
@@ -650,6 +653,9 @@ static PyTypeObject __pyx__PyAsyncGenASendType_type = {
#if PY_VERSION_HEX >= 0x030400a1
0
,
/* tp_finalize */
#endif
#if PY_VERSION_HEX >= 0x030800b1
0
,
/*tp_vectorcall*/
#endif
};
...
...
@@ -759,6 +765,9 @@ static PyTypeObject __pyx__PyAsyncGenWrappedValueType_type = {
#if PY_VERSION_HEX >= 0x030400a1
0
,
/* tp_finalize */
#endif
#if PY_VERSION_HEX >= 0x030800b1
0
,
/*tp_vectorcall*/
#endif
};
...
...
@@ -1038,6 +1047,9 @@ static PyTypeObject __pyx__PyAsyncGenAThrowType_type = {
#if PY_VERSION_HEX >= 0x030400a1
0
,
/* tp_finalize */
#endif
#if PY_VERSION_HEX >= 0x030800b1
0
,
/*tp_vectorcall*/
#endif
};
...
...
Cython/Utility/Coroutine.c
View file @
4becc815
...
...
@@ -1531,6 +1531,9 @@ static PyTypeObject __pyx_CoroutineAwaitType_type = {
#if PY_VERSION_HEX >= 0x030400a1
0
,
/*tp_finalize*/
#endif
#if PY_VERSION_HEX >= 0x030800b1
0
,
/*tp_vectorcall*/
#endif
};
#if PY_VERSION_HEX < 0x030500B1 || defined(__Pyx_IterableCoroutine_USED) || CYTHON_USE_ASYNC_SLOTS
...
...
@@ -1682,6 +1685,9 @@ static PyTypeObject __pyx_CoroutineType_type = {
#elif PY_VERSION_HEX >= 0x030400a1
0
,
/*tp_finalize*/
#endif
#if PY_VERSION_HEX >= 0x030800b1
0
,
/*tp_vectorcall*/
#endif
};
static
int
__pyx_Coroutine_init
(
void
)
{
...
...
@@ -1787,6 +1793,9 @@ static PyTypeObject __pyx_IterableCoroutineType_type = {
#if PY_VERSION_HEX >= 0x030400a1
__Pyx_Coroutine_del
,
/*tp_finalize*/
#endif
#if PY_VERSION_HEX >= 0x030800b1
0
,
/*tp_vectorcall*/
#endif
};
...
...
@@ -1889,6 +1898,9 @@ static PyTypeObject __pyx_GeneratorType_type = {
#elif PY_VERSION_HEX >= 0x030400a1
0
,
/*tp_finalize*/
#endif
#if PY_VERSION_HEX >= 0x030800b1
0
,
/*tp_vectorcall*/
#endif
};
static
int
__pyx_Generator_init
(
void
)
{
...
...
Cython/Utility/CythonFunction.c
View file @
4becc815
...
...
@@ -731,6 +731,9 @@ static PyTypeObject __pyx_CyFunctionType_type = {
#if PY_VERSION_HEX >= 0x030400a1
0
,
/*tp_finalize*/
#endif
#if PY_VERSION_HEX >= 0x030800b1
0
,
/*tp_vectorcall*/
#endif
};
...
...
@@ -1204,6 +1207,9 @@ static PyTypeObject __pyx_FusedFunctionType_type = {
#if PY_VERSION_HEX >= 0x030400a1
0
,
/*tp_finalize*/
#endif
#if PY_VERSION_HEX >= 0x030800b1
0
,
/*tp_vectorcall*/
#endif
};
static
int
__pyx_FusedFunction_init
(
void
)
{
...
...
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