Content-Length: 318895 | pFad | http://github.com/python/cpython/pull/117490/commits/f1e2461cb84ffca9902f598129be73b460c32fde

71 gh-76785: Handle Legacy Interpreters Properly by ericsnowcurrently · Pull Request #117490 · python/cpython · GitHub
Skip to content

gh-76785: Handle Legacy Interpreters Properly #117490

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
Next Next commit
Fix other tests.
  • Loading branch information
ericsnowcurrently committed Apr 11, 2024
commit f1e2461cb84ffca9902f598129be73b460c32fde
2 changes: 1 addition & 1 deletion Lib/test/test__xxsubinterpreters.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ class IsRunningTests(TestBase):

def test_main(self):
main, *_ = _interpreters.get_main()
self.assertTrue(_interpreters.is_running(main))
self.assertTrue(_interpreters.is_running(main, require_owned=False))

@unittest.skip('Fails on FreeBSD')
def test_subinterpreter(self):
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_capi/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2428,7 +2428,7 @@ def new_interp(config):
expected = _interpreters.new_config('legacy')
expected.gil = 'own'
interpid, *_ = _interpreters.get_main()
config = _interpreters.get_config(interpid)
config = _interpreters.get_config(interpid, require_owned=False)
self.assert_ns_equal(config, expected)

with self.subTest('isolated'):
Expand Down








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/python/cpython/pull/117490/commits/f1e2461cb84ffca9902f598129be73b460c32fde

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy