bpo-42333: Port _ssl extension to multiphase initialization (PEP 489) (GH-23253) by tiran · Pull Request #23253 · python/cpython

@tiran tiran changed the title bpo-42333: Port ssl module to use heap types and module state bpo-42333: Port _ssl extension to multiphase initialization (PEP 489)

Nov 12, 2020

@tiran tiran marked this pull request as ready for review

November 12, 2020 22:45

@tiran tiran removed the stale

Stale PR or inactive for long period of time.

label

Apr 17, 2021

@tiran

- 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

@tiran tiran changed the title bpo-42333: Port _ssl extension to multiphase initialization (PEP 489) bpo-42333: Port _ssl extension to multiphase initialization (PEP 489) (GH-23253)

Apr 17, 2021

@tiran tiran deleted the ssl_modulestate branch

April 17, 2021 18:06