Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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
Changes from1 commit
Commits
Show all changes
19 commits
Select commitHold shift + click to select a range
bdaef6b
Fix a comment.
ericsnowcurrentlyMar 7, 2024
6342635
Add PyInterpreterConfig helpers.
ericsnowcurrentlyMar 21, 2024
c48dd00
Add config helpers to _testinternalcapi.
ericsnowcurrentlyMar 21, 2024
0796fe9
Use the new helpers in run_in_subinterp_with_config().
ericsnowcurrentlyMar 22, 2024
8993b41
Move the PyInterpreterConfig utils to their own file.
ericsnowcurrentlyMar 22, 2024
a113017
_PyInterpreterState_ResolveConfig() -> _PyInterpreterConfig_InitFromS…
ericsnowcurrentlyMar 22, 2024
fce72b8
_testinternalcapi.new_interpreter_config() -> _xxsubinterpreters.new_…
ericsnowcurrentlyMar 22, 2024
c52e484
_testinternalcapi.get_interpreter_config() -> _xxsubinterpreters.get_…
ericsnowcurrentlyMar 22, 2024
a2983ce
Call _PyInterpreterState_RequireIDRef() in _interpreters._incref().
ericsnowcurrentlyMar 22, 2024
05a081e
_testinternalcapi.interpreter_incref() -> _interpreters._incref()
ericsnowcurrentlyMar 23, 2024
8a39bbc
Supporting passing a config to _xxsubinterpreters.create().
ericsnowcurrentlyMar 22, 2024
1173cd1
Factor out new_interpreter().
ericsnowcurrentlyMar 22, 2024
92c11d3
Fix test_import.
ericsnowcurrentlyMar 25, 2024
edda48d
Fix an outdent.
ericsnowcurrentlyMar 25, 2024
5f617ed
Call _PyInterpreterState_RequireIDRef() in the right places.
ericsnowcurrentlyApr 1, 2024
c504c79
Drop an unnecessary _PyInterpreterState_IDInitref() call.
ericsnowcurrentlyApr 1, 2024
8a75c90
Reduce to just the new internal C-API.
ericsnowcurrentlyApr 2, 2024
a38cda7
Adjust test_get_config.
ericsnowcurrentlyApr 2, 2024
cae0482
Remove trailing whitespace.
ericsnowcurrentlyApr 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Fix test_import.
  • Loading branch information
@ericsnowcurrently
ericsnowcurrently committedMar 25, 2024
commit92c11d388baf7648f781937405c790370bc74674
2 changes: 1 addition & 1 deletionLib/test/test_import/__init__.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2163,7 +2163,7 @@ def re_load(self, name, mod):
# subinterpreters

def add_subinterpreter(self):
interpid = _interpreters.create(isolated=False)
interpid = _interpreters.create('legacy')
def ensure_destroyed():
try:
_interpreters.destroy(interpid)
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp