Title: gh-108696: revert bypassing import cache in test_import helper by carljm · Pull Request #108698 · python/cpython · GitHub
Open Graph Title: gh-108696: revert bypassing import cache in test_import helper by carljm · Pull Request #108698 · python/cpython
X Title: gh-108696: revert bypassing import cache in test_import helper by carljm · Pull Request #108698 · python/cpython
Description: Per suggestion from @FFY00 on #104186, let's revert this change to get the refleak buildbots green again. Verified that with this diff, ./python -m test -R: -v test_import no longer leaks references. It seems that if we want to bypass this cache, it will require a bit more work to ensure we always dispose of the freshly-imported modules. Issue: gh-108696
Open Graph Description: Per suggestion from @FFY00 on #104186, let's revert this change to get the refleak buildbots green again. Verified that with this diff, ./python -m test -R: -v test_import no longer leaks refer...
X Description: Per suggestion from @FFY00 on #104186, let's revert this change to get the refleak buildbots green again. Verified that with this diff, ./python -m test -R: -v test_import no longer leaks r...
Opengraph URL: https://github.com/python/cpython/pull/108698
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6f44cf3f-de8b-2b2b-ccfd-20193dccd72d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ECB0:2AB87B:CF2142:11EE917:696A8B50 |
| html-safe-nonce | 2e786b7764bbf422d834ddbea5dd17529581777f4530204392441ffe8d7d0732 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0IwOjJBQjg3QjpDRjIxNDI6MTFFRTkxNzo2OTZBOEI1MCIsInZpc2l0b3JfaWQiOiIyOTU1NzcxMTYzMTU4Njc4MzUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 354821f14ffcce68afdaec8a12d2b6fcb28177d453b247b86b7797411150dd3f |
| hovercard-subject-tag | pull_request:1496185780 |
| 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/108698/files |
| twitter:image | https://avatars.githubusercontent.com/u/61586?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/61586?s=400&v=4 |
| og:image:alt | Per suggestion from @FFY00 on #104186, let's revert this change to get the refleak buildbots green again. Verified that with this diff, ./python -m test -R: -v test_import no longer leaks refer... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d2aa6dedd7d97fa651b17c40401f2605f309df5ca5fb659bf0554cf34f1de825 |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c1dbca8981c5e3d6a69bce2f1d289e732b86241d |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width