Title: [3.12] gh-101100: Make __subclasses__ doctest stable (GH-124577) by JelleZijlstra · Pull Request #124580 · python/cpython · GitHub
Open Graph Title: [3.12] gh-101100: Make __subclasses__ doctest stable (GH-124577) by JelleZijlstra · Pull Request #124580 · python/cpython
X Title: [3.12] gh-101100: Make __subclasses__ doctest stable (GH-124577) by JelleZijlstra · Pull Request #124580 · python/cpython
Description: Using a standard library class makes this test difficult to maintain as other tests and other parts of the stdlib may create subclasses, which may still be alive when this test runs depending on GC timing. (cherry picked from commit 08a467b) Issue: gh-101100 📚 Documentation preview 📚: https://cpython-previews--124580.org.readthedocs.build/
Open Graph Description: Using a standard library class makes this test difficult to maintain as other tests and other parts of the stdlib may create subclasses, which may still be alive when this test runs depending on GC...
X Description: Using a standard library class makes this test difficult to maintain as other tests and other parts of the stdlib may create subclasses, which may still be alive when this test runs depending on GC...
Opengraph URL: https://github.com/python/cpython/pull/124580
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:80f5b5dc-e7b6-64e3-b05f-b5ad3d9ec9da |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E180:279B15:11232CE:17943A4:6969F759 |
| html-safe-nonce | e61e60ad26d0ee7252bddce57492a61d2d49ab429a02b74e0e3293b0869b61d7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTgwOjI3OUIxNToxMTIzMkNFOjE3OTQzQTQ6Njk2OUY3NTkiLCJ2aXNpdG9yX2lkIjoiMzI1MzkxMjg4MDcyMDUwODc2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 475361a6ac682dffc2eeb7ad3af1faba93e2d2147b73b57f4d754be986ac4995 |
| hovercard-subject-tag | pull_request:2092891768 |
| 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/124580/files |
| twitter:image | https://avatars.githubusercontent.com/u/906600?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/906600?s=400&v=4 |
| og:image:alt | Using a standard library class makes this test difficult to maintain as other tests and other parts of the stdlib may create subclasses, which may still be alive when this test runs depending on GC... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width