commit | ac5e99911a45ad6f57a6aa7b33fd2de9da72aa72 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Tue Nov 10 15:42:36 2020 +0100 |
committer | Nick Wellnhofer <wellnhofer@aevum.de> | Thu Nov 19 18:09:22 2020 +0100 |
tree | 2bd5a39e67cb198c5e36ff7b1a4e166a0614f93b | |
parent | f42a0524c693a6d52e95a37c9cf04df1be48262c [diff] |
Convert python/libxml.c to PY_SSIZE_T_CLEAN Define PY_SSIZE_T_CLEAN macro in python/libxml.c and cast the string length (int len) explicitly to Py_ssize_t when passing a string to a function call using PyObject_CallMethod() with the "s#" format.