Message371558
I wrote PR 20889 which removes "snprintf" and "vsnprintf" macros from pyerrors.h. I propose to backport the change to 3.9, but leave 3.8 unchanged.
On Python 3.8 and older, the workaround is to manually undefine the macros:
---
#include <Python.h>
// Undefine macros to work around https://bugs.python.org/issue36020
#undef snprintf
#undef vsnprintf
--- |
|
Date |
User |
Action |
Args |
2020-06-15 15:00:06 | vstinner | set | recipients:
+ vstinner, paul.moore, tim.golden, zach.ware, steve.dower, matrixise, palotasb-conti |
2020-06-15 15:00:06 | vstinner | set | messageid: <1592233206.03.0.559929852514.issue36020@roundup.psfhosted.org> |
2020-06-15 15:00:05 | vstinner | link | issue36020 messages |
2020-06-15 15:00:05 | vstinner | create | |
|