Skip to content

bpo-42327: Add PyModule_Add(). - #23240

Closed
serhiy-storchaka wants to merge 12 commits into
python:mainfrom
serhiy-storchaka:pymodule-add
Closed

bpo-42327: Add PyModule_Add().#23240
serhiy-storchaka wants to merge 12 commits into
python:mainfrom
serhiy-storchaka:pymodule-add

Conversation

@serhiy-storchaka

@serhiy-storchakaserhiy-storchaka commented Nov 11, 2020

Copy link
Copy Markdown
Member

@serhiy-storchakaserhiy-storchaka changed the title Add PyModule_Add().bpo-42327: Add PyModule_Add().Nov 11, 2020
@serhiy-storchaka
serhiy-storchaka marked this pull request as ready for review November 14, 2020 17:47
@pablogsalpablogsal added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Nov 14, 2020
@bedevere-bot

Copy link
Copy Markdown

🤖 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.

@bedevere-botbedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Nov 14, 2020

@tirantiran left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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().

@bedevere-bot

Copy link
Copy Markdown

When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.

@serhiy-storchaka

Copy link
Copy Markdown
MemberAuthor

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.

@serhiy-storchaka

Copy link
Copy Markdown
MemberAuthor

Created #23443 which does not include large changes.

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actionsgithub-actionsBot added the stale Stale PR or inactive for long period of time. label Dec 22, 2020
@rhettinger
rhettinger removed their request for review May 3, 2022 06:14
@github-actionsgithub-actionsBot removed the stale Stale PR or inactive for long period of time. label Jul 31, 2022
@serhiy-storchaka

Copy link
Copy Markdown
MemberAuthor

Split and merged as a number of smaller PRs.

@serhiy-storchaka
serhiy-storchaka deleted the pymodule-add branch July 1, 2026 17:03
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@serhiy-storchaka@bedevere-bot@tiran@pablogsal@the-knights-who-say-ni@ezio-melotti