commit | f22b7ca1afd98a7381a9fe9e53bd6dfa2a5eba16 | [log] [tgz] |
---|---|---|
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | Wed Jan 06 20:43:06 2021 +0100 |
committer | GitHub <noreply@github.com> | Wed Jan 06 20:43:06 2021 +0100 |
tree | 2f41e9ea3c82a312af19a4c18711998190b7a33f | |
parent | ff8458b918050168acda1ad6d079f52b8effa821 [diff] [blame] |
bpo-41798: Allocate _socket module C API on the heap (GH-24126)
diff --git a/Modules/socketmodule.h b/Modules/socketmodule.h index ba2c9f5..e4f375d 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;