← 返回首页
[3.12] gh-76785: Make test.test_interpreters executable (GH-112982) by jeff5 · Pull Request #113470 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

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

Provide feedback

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

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

[3.12] gh-76785: Make test.test_interpreters executable (GH-112982)#113470

Merged
serhiy-storchaka merged 1 commit into
python:3.12from
jeff5:test-interpreters-exec-3.12
Dec 25, 2023
Merged

[3.12] gh-76785: Make test.test_interpreters executable (GH-112982)#113470
serhiy-storchaka merged 1 commit into
python:3.12from
jeff5:test-interpreters-exec-3.12

Conversation

jeff5 commented Dec 25, 2023
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

This is so that we can run python -m test.test_interpreters. As such it backports that aspect of commit 86a77f4, where it is implemented by a package __main__.py.

…GH-112982) This is so that we can run python -m test.test_interpreters. As such it backports that aspect of commit 86a77f4, where it is implemented by a package __main__.py.

jeff5 commented Dec 25, 2023

Copy link
Copy Markdown
Contributor Author

This is as suggested in #113381 (comment). The only non-trivial aspect of this was the title. I've chosen to cite the same mega-issue as in #112982 but reproducing the title seemed misleading given only really the intent is cherry-picked.

This needs back-porting to 3.11. I'd be content to repeat the process if Miss Islington can't.

serhiy-storchaka self-requested a review December 25, 2023 18:28
serhiy-storchaka merged commit bdad5c3 into python:3.12 Dec 25, 2023
serhiy-storchaka added the needs backport to 3.11 only security fixes label Dec 25, 2023

Copy link
Copy Markdown

Thanks @jeff5 for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 25, 2023
…GH-112982) (pythonGH-113470) This is so that we can run python -m test.test_interpreters. As such it backports that aspect of commit 86a77f4, where it is implemented by a package __main__.py. (cherry picked from commit bdad5c3) Co-authored-by: Jeff Allen <ja.py@farowl.co.uk>

bedevere-app Bot commented Dec 25, 2023

Copy link
Copy Markdown

GH-113473 is a backport of this pull request to the 3.11 branch.

bedevere-app Bot removed the needs backport to 3.11 only security fixes label Dec 25, 2023

Copy link
Copy Markdown
Member

Thank you @jeff5.

bedevere-app Bot commented Dec 25, 2023

Copy link
Copy Markdown

GH-113473 is a backport of this pull request to the 3.11 branch.

serhiy-storchaka pushed a commit that referenced this pull request Dec 25, 2023
…H-113470) (GH-113473) This is so that we can run python -m test.test_interpreters. As such it backports that aspect of commit 86a77f4, where it is implemented by a package __main__.py. (cherry picked from commit bdad5c3) Co-authored-by: Jeff Allen <ja.py@farowl.co.uk>

jeff5 commented Dec 25, 2023

Copy link
Copy Markdown
Contributor Author

Wow, Christmas Day too! Thank you, and Happy Christmas @serhiy-storchaka .

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

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Footer

© 2026 GitHub, Inc.