-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
gh-76785: Fixes for test.support.interpreters #112982
gh-76785: Fixes for test.support.interpreters #112982
Conversation
|
I have a fix for the buildbot failure in gh-113014. |
|
|
gh-112982 broke test_threading on one of the s390 buildbots (Fedora Clang Installed). Apparently ImportError is raised (rather than ModuleNotFoundError) for the name part of "from" imports. This fixes that by catching ImportError in test_threading.py.
|
Doc/**/*queue* @rhettinger | ||
PCbuild/**/*queue* @rhettinger | ||
Modules/_queuemodule.c @rhettinger | ||
Lib/*queue*.py @rhettinger | ||
Lib/asyncio/*queue*.py @rhettinger | ||
Lib/multiprocessing/*queue*.py @rhettinger | ||
Lib/test/*queue*.py @rhettinger | ||
Lib/test_asyncio/*queue*.py @rhettinger | ||
Lib/test_multiprocessing/*queue*.py @rhettinger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The last matching pattern in CODEOWNERS
takes the precedence, so you can do:
**/*queue* @rhettinger
support/interpreters/queues.py @ericsnowcurrently
to set @rhettinger as owner of all the *queue*
files except support/interpreters/queues.py
, which will be owned by @ericsnowcurrently instead.
Moving the subinterpreter section after the **/*queue*
line should also override the owner for support/interpreters/queues.py
without further changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought there was something like that but I couldn't find it via web search. Thanks for explaining. I'll fix it in a follow-up PR.
In gh-112982 I made some changes to .github/CODEOWNERS. Later, @ezio-melotti pointed out that some of those changes were unnecessary.
…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 implemnented 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.
GH-113470 is a backport of this pull request to the 3.12 branch. |
…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 <[email protected]>
…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 <[email protected]>
This involves a number of changes for PEP 734.
…ongh-113014) pythongh-112982 broke test_threading on one of the s390 buildbots (Fedora Clang Installed). Apparently ImportError is raised (rather than ModuleNotFoundError) for the name part of "from" imports. This fixes that by catching ImportError in test_threading.py.
In pythongh-112982 I made some changes to .github/CODEOWNERS. Later, @ezio-melotti pointed out that some of those changes were unnecessary.
This involves a number of changes for PEP 734.
…ongh-113014) pythongh-112982 broke test_threading on one of the s390 buildbots (Fedora Clang Installed). Apparently ImportError is raised (rather than ModuleNotFoundError) for the name part of "from" imports. This fixes that by catching ImportError in test_threading.py.
In pythongh-112982 I made some changes to .github/CODEOWNERS. Later, @ezio-melotti pointed out that some of those changes were unnecessary.
This involves a number of changes for PEP 734.