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
c75ed142
Commit
c75ed142
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
a32a29e8
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 @
c75ed142
...
...
@@ -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 @
c75ed142
...
...
@@ -1526,6 +1526,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
...
...
@@ -1680,6 +1683,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
)
{
...
...
@@ -1788,6 +1794,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
};
...
...
@@ -1893,6 +1902,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 @
c75ed142
...
...
@@ -886,6 +886,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
};
...
...
@@ -1362,6 +1365,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