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:
Christian Heimes 2021-04-17 20:06:38 +02:00 committed by GitHub
parent 76beadb8ff
commit 7f1305ef9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 468 additions and 366 deletions

File diff suppressed because it is too large Load diff