Message347848
I have a number of static PyTypeObject declarations. In order to avoid compiler warnings about missing field initialisers I always provide explicit 0 values for unused fields (protected by #if PY_HEX_VERSION >= ...). However with v3.8b2 this triggers new warnings from Py_DEPRECATED because of the initialiser for tp_print.
I would like some way of locally suppressing Py_DEPRECATED. The attached trivial patch would do this by allowing me to define a null Py_DEPRECATED before including Python.h. |
|
Date |
User |
Action |
Args |
2019-07-13 17:53:56 | philthompson10 | set | recipients:
+ philthompson10 |
2019-07-13 17:53:56 | philthompson10 | set | messageid: <1563040436.19.0.276806879722.issue37588@roundup.psfhosted.org> |
2019-07-13 17:53:56 | philthompson10 | link | issue37588 messages |
2019-07-13 17:53:55 | philthompson10 | create | |
|