From f22b7ca1afd98a7381a9fe9e53bd6dfa2a5eba16 Mon Sep 17 00:00:00 2001 From: Erlend Egeberg Aasland Date: Wed, 6 Jan 2021 20:43:06 +0100 Subject: bpo-41798: Allocate _socket module C API on the heap (GH-24126) --- Modules/socketmodule.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Modules/socketmodule.h') diff --git a/Modules/socketmodule.h b/Modules/socketmodule.h index ba2c9f5c31..e4f375d5e8 100644 --- a/Modules/socketmodule.h +++ b/Modules/socketmodule.h @@ -342,7 +342,8 @@ typedef struct { */ -/* C API for usage by other Python modules */ +/* C API for usage by other Python modules. + * Always add new things to the end for binary compatibility. */ typedef struct { PyTypeObject *Sock_Type; PyObject *error; -- cgit v1.2.1