bpo-42327: Add PyModule_Add().#23240
Conversation
67e94c9 to
3387f58
Compare
|
🤖 New build scheduled with the buildbot fleet by @pablogsal for commit 17279ae 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
tiran
left a comment
There was a problem hiding this comment.
Could you please move your changes of _ssl.c to another PR? This PR will cause major conflicts with two of my PRs.
I also like to get your opinion on https://discuss.python.org/t/define-module-constants-in-pymoduledef/5749 . I have suggested a radically different approach for module constant initialization that is even more convenient than PyModule_Add().
|
When you're done making the requested changes, leave the comment: |
|
I will most likely break this PR into several parts and merge them separately. It grew more than I expected because for each modified module I fixed all potential leaks, and some module expose many constants. |
|
Created #23443 which does not include large changes. |
|
This PR is stale because it has been open for 30 days with no activity. |
|
Split and merged as a number of smaller PRs. |
https://bugs.python.org/issue42327