mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
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
This commit is contained in:
parent
76beadb8ff
commit
7f1305ef9e
6 changed files with 468 additions and 366 deletions
752
Modules/_ssl.c
752
Modules/_ssl.c
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue