[Python-checkins] (no subject)

Stéphane Wirtel webhook-mailer at python.org
Thu Sep 19 02:41:42 EDT 2019




To: python-checkins at python.org
Subject: Fix _PyTraceMalloc_Fini() definition (GH-16259) (GH-16278)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

https://github.com/python/cpython/commit/8d9efc4a2750e0512c0d2af27c70c3dea018=
a4e6
commit: 8d9efc4a2750e0512c0d2af27c70c3dea018a4e6
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.co=
m>
committer: St=C3=A9phane Wirtel <stephane at wirtel.be>
date: 2019-09-19T08:41:35+02:00
summary:

Fix _PyTraceMalloc_Fini() definition (GH-16259) (GH-16278)

The function return type is void, not int.
(cherry picked from commit d299b8b47d9dbea8fec2c2abcb6c32ad32f5f4d1)

Co-authored-by: Victor Stinner <vstinner at redhat.com>

files:
M Include/internal/pycore_pylifecycle.h

diff --git a/Include/internal/pycore_pylifecycle.h b/Include/internal/pycore_=
pylifecycle.h
index a21eb0142233..852280e84027 100644
--- a/Include/internal/pycore_pylifecycle.h
+++ b/Include/internal/pycore_pylifecycle.h
@@ -83,7 +83,7 @@ extern void _PyUnicode_Fini(void);
 extern void PyLong_Fini(void);
 extern void _PyFaulthandler_Fini(void);
 extern void _PyHash_Fini(void);
-extern int _PyTraceMalloc_Fini(void);
+extern void _PyTraceMalloc_Fini(void);
 extern void _PyWarnings_Fini(PyInterpreterState *interp);
=20
 extern void _PyGILState_Init(



More information about the Python-checkins mailing list