Title: [3.10] bpo-46542: test_lib2to3 uses support.infinite_recursion() (GH-31035) by miss-islington · Pull Request #31036 · python/cpython · GitHub
Open Graph Title: [3.10] bpo-46542: test_lib2to3 uses support.infinite_recursion() (GH-31035) by miss-islington · Pull Request #31036 · python/cpython
X Title: [3.10] bpo-46542: test_lib2to3 uses support.infinite_recursion() (GH-31035) by miss-islington · Pull Request #31036 · python/cpython
Description: bpo-46542: test_lib2to3 uses support.infinite_recursion() Fix a Python crash in test_lib2to3 when using Python built in debug mode: limit the recursion limit. The test_all_project_files() test of test_lib2to3 now uses the test.support.infinite_recursion() context manager when processing the infinite_recursion.py file to prevent a crash when Python is built in debug mode. The two test_all_project_files() tests now use subTest() and log the refactored/parsed filename (if test_lib2to3 is run in verbose mode). Update Lib/lib2to3/tests/data/infinite_recursion.py Co-authored-by: Jelle Zijlstra jelle.zijlstra@gmail.com Co-authored-by: Łukasz Langa lukasz@langa.pl Co-authored-by: Jelle Zijlstra jelle.zijlstra@gmail.com (cherry picked from commit ee0ac32) Co-authored-by: Victor Stinner vstinner@python.org
Open Graph Description: bpo-46542: test_lib2to3 uses support.infinite_recursion() Fix a Python crash in test_lib2to3 when using Python built in debug mode: limit the recursion limit. The test_all_project_files() test of ...
X Description: bpo-46542: test_lib2to3 uses support.infinite_recursion() Fix a Python crash in test_lib2to3 when using Python built in debug mode: limit the recursion limit. The test_all_project_files() test of ...
Opengraph URL: https://github.com/python/cpython/pull/31036
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:375054fa-27ef-527f-eeff-f424c3034251 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A776:2F0FE8:284234:3412D2:6A52F500 |
| html-safe-nonce | 1b6a4f5acaeeddfbea3320591a5a711937a43a56e2e3c85ec5e4b72b03efa8a0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzc2OjJGMEZFODoyODQyMzQ6MzQxMkQyOjZBNTJGNTAwIiwidmlzaXRvcl9pZCI6IjMzMTYyMjE3ODgwNzAwMTYyNTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8dbfb573b6d6836a7c38c69453f17d7e8724d6cf8719b3e5595e57ad039b95ff |
| hovercard-subject-tag | pull_request:836410327 |
| 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/31036/files |
| twitter:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| og:image:alt | bpo-46542: test_lib2to3 uses support.infinite_recursion() Fix a Python crash in test_lib2to3 when using Python built in debug mode: limit the recursion limit. The test_all_project_files() test of ... |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width