SIGN IN SIGN UP

bpo-36020: Remove snprintf macro in pyerrors.h (GH-20889)

On Windows, #include "pyerrors.h" no longer defines "snprintf" and
"vsnprintf" macros.

PyOS_snprintf() and PyOS_vsnprintf() should be used to get portable
behavior.

Replace snprintf() calls with PyOS_snprintf() and replace vsnprintf()
calls with PyOS_vsnprintf().
V
Victor Stinner committed
e822e37946f27c09953bb5733acf3b07c2db690f
Parent: 5f79f46
Committed by GitHub <noreply@github.com> on 6/15/2020, 7:59:47 PM