Author vstinner
Recipients matrixise, palotasb-conti, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2020-06-15.15:00:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1592233206.03.0.559929852514.issue36020@roundup.psfhosted.org>
In-reply-to
Content
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
---
History
Date User Action Args
2020-06-15 15:00:06vstinnersetrecipients: + vstinner, paul.moore, tim.golden, zach.ware, steve.dower, matrixise, palotasb-conti
2020-06-15 15:00:06vstinnersetmessageid: <1592233206.03.0.559929852514.issue36020@roundup.psfhosted.org>
2020-06-15 15:00:05vstinnerlinkissue36020 messages
2020-06-15 15:00:05vstinnercreate