Skip to content

Conversation

@jeff5
Copy link
Contributor

@jeff5 jeff5 commented Dec 25, 2023

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
Copy link
Contributor Author

jeff5 commented Dec 25, 2023

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 serhiy-storchaka self-requested a review December 25, 2023 18:28
@serhiy-storchaka serhiy-storchaka merged commit bdad5c3 into python:3.12 Dec 25, 2023
@serhiy-storchaka serhiy-storchaka added the needs backport to 3.11 only security fixes label Dec 25, 2023
@miss-islington-app
Copy link

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
Copy link

bedevere-app bot commented Dec 25, 2023

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

@bedevere-app bedevere-app bot removed the needs backport to 3.11 only security fixes label Dec 25, 2023
@serhiy-storchaka
Copy link
Member

Thank you @jeff5.

@bedevere-app
Copy link

bedevere-app bot commented Dec 25, 2023

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
Copy link
Contributor Author

jeff5 commented Dec 25, 2023

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

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