classification
Title: Port ssl module to heap types and module state (PEP 573)
Type: enhancement Stage: patch review
Components: Versions: Python 3.10
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: christian.heimes, shihai1991, vstinner
Priority: normal Keywords: patch

Created on 2020-11-12 17:19 by christian.heimes, last changed 2020-11-20 08:40 by christian.heimes.

Pull Requests
URL Status Linked Edit
PR 23253 open christian.heimes, 2020-11-12 17:22
PR 23392 merged christian.heimes, 2020-11-19 08:51
Messages (4)
msg380837 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2020-11-12 17:19
Move all objects to module state. Convert all types and extensions to heap types.
msg380856 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2020-11-12 22:39
I underestimated the effort but it's done:

   +567 −446
   1,013 lines changed

I even got rid of PyState_FindModule().
msg381419 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2020-11-19 14:04
I marked bpo-15670 as duplicate of this issue.
msg381467 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2020-11-20 08:40
New changeset 5c36da78d738d0e5fdb539a758cc15abc47c843b by Christian Heimes in branch 'master':
bpo-42333: Port _ssl extension module to heap types (GH-23392)
https://github.com/python/cpython/commit/5c36da78d738d0e5fdb539a758cc15abc47c843b
History
Date User Action Args
2020-11-20 08:40:15christian.heimessetmessages: + msg381467
2020-11-19 14:04:27vstinnersetnosy: + vstinner
messages: + msg381419
2020-11-19 14:04:14vstinnerlinkissue15670 superseder
2020-11-19 08:51:38christian.heimessetpull_requests: + pull_request22284
2020-11-12 22:39:53christian.heimessetmessages: + msg380856
2020-11-12 18:19:34shihai1991setnosy: + shihai1991
2020-11-12 17:22:18christian.heimessetkeywords: + patch
pull_requests: + pull_request22149
2020-11-12 17:19:18christian.heimescreate