Title: bpo-36725: Refactor regrtest multiprocessing code by vstinner · Pull Request #12961 · python/cpython · GitHub
Open Graph Title: bpo-36725: Refactor regrtest multiprocessing code by vstinner · Pull Request #12961 · python/cpython
X Title: bpo-36725: Refactor regrtest multiprocessing code by vstinner · Pull Request #12961 · python/cpython
Description: Rwrite run_tests_multiprocess() function as a new MultiprocessRunner class with multiple methods to better report errors and stop immediately when needed. Changes: Worker processes are now killed immediately if tests are interrupted or if a test does crash (CHILD_ERROR): child processes as killed. Rewrite how errors in a worker thread are reported to the main thread. No longer ignore BaseException or parsing errors silently. Remove finished variable: use worker.is_alive() instead Always compute omitted tests. Add Regrtest.get_executed() method. https://bugs.python.org/issue36725
Open Graph Description: Rwrite run_tests_multiprocess() function as a new MultiprocessRunner class with multiple methods to better report errors and stop immediately when needed. Changes: Worker processes are now killed ...
X Description: Rwrite run_tests_multiprocess() function as a new MultiprocessRunner class with multiple methods to better report errors and stop immediately when needed. Changes: Worker processes are now killed ...
Opengraph URL: https://github.com/python/cpython/pull/12961
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:09f9b491-3c15-1e79-c458-7f73de940682 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E8CE:24BC9A:1F8AAB8:29F005D:6A545F84 |
| html-safe-nonce | bba83e4776851e684fff5202a3a8b4b47a6e34eb84b40749ebc5189382cba599 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOENFOjI0QkM5QToxRjhBQUI4OjI5RjAwNUQ6NkE1NDVGODQiLCJ2aXNpdG9yX2lkIjoiNTQ3NzY3OTEyOTM0NzUxNDI0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f07edd4b67562a624f69f6043315ecd32df46f006988e3620b2f34e0e53955c5 |
| hovercard-subject-tag | pull_request:273738369 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/12961/files |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | Rwrite run_tests_multiprocess() function as a new MultiprocessRunner class with multiple methods to better report errors and stop immediately when needed. Changes: Worker processes are now killed ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d28624802c2f7d9500239dd6870ed7031b7353b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width