]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42333: Port _ssl extension to multiphase initialization (PEP 489) (GH-23253)
authorChristian Heimes <christian@python.org>
Sat, 17 Apr 2021 18:06:38 +0000 (20:06 +0200)
committerGitHub <noreply@github.com>
Sat, 17 Apr 2021 18:06:38 +0000 (20:06 +0200)
commit7f1305ef9ea7234e1a5aacbea17490232e9b7dc2
treeb9aa4b5736f61444b4ea0897cfde12a50cf58a54
parent76beadb8ff86eb2bb248bf918bfb20c4069932f4
bpo-42333: Port _ssl extension to multiphase initialization (PEP 489) (GH-23253)

- Introduce sslmodule_slots
- Introduce sslmodulestate
- Use sslmodulestate
- Get rid of PyState_FindModule
- Move new structs and helpers to header file
- Use macros to access state
- Keep a strong ref to socket type
Misc/NEWS.d/next/Library/2021-04-17-19-31-17.bpo-42333.cgbtZO.rst [new file with mode: 0644]
Modules/_ssl.c
Modules/_ssl.h [new file with mode: 0644]
Modules/_ssl/debughelpers.c
Modules/clinic/_ssl.c.h
setup.py