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
430e2ca2
Commit
430e2ca2
authored
Nov 01, 2019
by
Orivej Desh
Committed by
Stefan Behnel
Nov 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialize tp_print in Python 3.8 (GH-3201)
This should complete #3171 in silencing -Wmissing-field-initializers.
parent
b63b5c67
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
0 deletions
+30
-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.
Cython/Utility/AsyncGen.c
View file @
430e2ca2
...
...
@@ -424,6 +424,9 @@ static PyTypeObject __pyx_AsyncGenType_type = {
#if PY_VERSION_HEX >= 0x030800b1
0
,
/*tp_vectorcall*/
#endif
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
0
,
/*tp_print*/
#endif
};
...
...
@@ -656,6 +659,9 @@ static PyTypeObject __pyx__PyAsyncGenASendType_type = {
#if PY_VERSION_HEX >= 0x030800b1
0
,
/*tp_vectorcall*/
#endif
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
0
,
/*tp_print*/
#endif
};
...
...
@@ -768,6 +774,9 @@ static PyTypeObject __pyx__PyAsyncGenWrappedValueType_type = {
#if PY_VERSION_HEX >= 0x030800b1
0
,
/*tp_vectorcall*/
#endif
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
0
,
/*tp_print*/
#endif
};
...
...
@@ -1050,6 +1059,9 @@ static PyTypeObject __pyx__PyAsyncGenAThrowType_type = {
#if PY_VERSION_HEX >= 0x030800b1
0
,
/*tp_vectorcall*/
#endif
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
0
,
/*tp_print*/
#endif
};
...
...
Cython/Utility/Coroutine.c
View file @
430e2ca2
...
...
@@ -1500,6 +1500,9 @@ static PyTypeObject __pyx_CoroutineAwaitType_type = {
#if PY_VERSION_HEX >= 0x030800b1
0
,
/*tp_vectorcall*/
#endif
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
0
,
/*tp_print*/
#endif
};
#if PY_VERSION_HEX < 0x030500B1 || defined(__Pyx_IterableCoroutine_USED) || CYTHON_USE_ASYNC_SLOTS
...
...
@@ -1661,6 +1664,9 @@ static PyTypeObject __pyx_CoroutineType_type = {
#if PY_VERSION_HEX >= 0x030800b1
0
,
/*tp_vectorcall*/
#endif
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
0
,
/*tp_print*/
#endif
};
static
int
__pyx_Coroutine_init
(
void
)
{
...
...
@@ -1769,6 +1775,9 @@ static PyTypeObject __pyx_IterableCoroutineType_type = {
#if PY_VERSION_HEX >= 0x030800b1
0
,
/*tp_vectorcall*/
#endif
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
0
,
/*tp_print*/
#endif
};
...
...
@@ -1872,6 +1881,9 @@ static PyTypeObject __pyx_GeneratorType_type = {
#if PY_VERSION_HEX >= 0x030800b1
0
,
/*tp_vectorcall*/
#endif
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
0
,
/*tp_print*/
#endif
};
static
int
__pyx_Generator_init
(
void
)
{
...
...
Cython/Utility/CythonFunction.c
View file @
430e2ca2
...
...
@@ -733,6 +733,9 @@ static PyTypeObject __pyx_CyFunctionType_type = {
#if PY_VERSION_HEX >= 0x030800b1
0
,
/*tp_vectorcall*/
#endif
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
0
,
/*tp_print*/
#endif
};
...
...
@@ -1209,6 +1212,9 @@ static PyTypeObject __pyx_FusedFunctionType_type = {
#if PY_VERSION_HEX >= 0x030800b1
0
,
/*tp_vectorcall*/
#endif
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
0
,
/*tp_print*/
#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