FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-132775: Add _PyImport_GetModulesRef() to the Internal C-API by ericsnowcurrently · Pull Request #132977 · python/cpython · GitHub

/ cpython Public

gh-132775: Add _PyImport_GetModulesRef() to the Internal C-API - #132977

Closed
ericsnowcurrently wants to merge 1 commit into
python:mainfrom
ericsnowcurrently:add-pyimport-get-modules-ref
Closed

gh-132775: Add _PyImport_GetModulesRef() to the Internal C-API#132977
ericsnowcurrently wants to merge 1 commit into
python:mainfrom
ericsnowcurrently:add-pyimport-get-modules-ref

Conversation

ericsnowcurrently commented Apr 25, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

This is the equivalent of _PyImport_GetModules() that incref's while the lock is held.

This is used by a later change related to pickle and handling __main__.

Copy link
Copy Markdown
Member Author

I'm folding this into gh-132978.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to 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.

1 participant


Back | FazBrowse Home | New Git URL