Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.3k
gh-76785: Add PyInterpreterConfig Helpers#117170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
ericsnowcurrently merged 19 commits intopython:mainfromericsnowcurrently:interpreter-config-helpersApr 2, 2024
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
19 commits Select commitHold shift + click to select a range
bdaef6b
Fix a comment.
ericsnowcurrently6342635
Add PyInterpreterConfig helpers.
ericsnowcurrentlyc48dd00
Add config helpers to _testinternalcapi.
ericsnowcurrently0796fe9
Use the new helpers in run_in_subinterp_with_config().
ericsnowcurrently8993b41
Move the PyInterpreterConfig utils to their own file.
ericsnowcurrentlya113017
_PyInterpreterState_ResolveConfig() -> _PyInterpreterConfig_InitFromS…
ericsnowcurrentlyfce72b8
_testinternalcapi.new_interpreter_config() -> _xxsubinterpreters.new_…
ericsnowcurrentlyc52e484
_testinternalcapi.get_interpreter_config() -> _xxsubinterpreters.get_…
ericsnowcurrentlya2983ce
Call _PyInterpreterState_RequireIDRef() in _interpreters._incref().
ericsnowcurrently05a081e
_testinternalcapi.interpreter_incref() -> _interpreters._incref()
ericsnowcurrently8a39bbc
Supporting passing a config to _xxsubinterpreters.create().
ericsnowcurrently1173cd1
Factor out new_interpreter().
ericsnowcurrently92c11d3
Fix test_import.
ericsnowcurrentlyedda48d
Fix an outdent.
ericsnowcurrently5f617ed
Call _PyInterpreterState_RequireIDRef() in the right places.
ericsnowcurrentlyc504c79
Drop an unnecessary _PyInterpreterState_IDInitref() call.
ericsnowcurrently8a75c90
Reduce to just the new internal C-API.
ericsnowcurrentlya38cda7
Adjust test_get_config.
ericsnowcurrentlycae0482
Remove trailing whitespace.
ericsnowcurrentlyFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Fix test_import.
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit92c11d388baf7648f781937405c790370bc74674
There are no files selected for viewing
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.