Title: [3.13] gh-133122: Fix for test_type_lookup_mro_reference. by nascheme · Pull Request #133127 · python/cpython · GitHub
Open Graph Title: [3.13] gh-133122: Fix for test_type_lookup_mro_reference. by nascheme · Pull Request #133127 · python/cpython
X Title: [3.13] gh-133122: Fix for test_type_lookup_mro_reference. by nascheme · Pull Request #133127 · python/cpython
Description: Change the unit test case to use getattr() so that we avoid the bytecode specializer optimizing the access. The specializer will call the __eq__ method before the unit test expects, causing it to fail. In the 3.14 branch (gh-128164) the test is changed in a different way to avoid the same issue. Issue: gh-133122
Open Graph Description: Change the unit test case to use getattr() so that we avoid the bytecode specializer optimizing the access. The specializer will call the __eq__ method before the unit test expects, causing it to ...
X Description: Change the unit test case to use getattr() so that we avoid the bytecode specializer optimizing the access. The specializer will call the __eq__ method before the unit test expects, causing it to ...
Opengraph URL: https://github.com/python/cpython/pull/133127
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3d93772c-339e-fe34-ecfc-74f0ef56b3f5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 99A8:3FC1F4:2385BDB:330E389:6A57AB02 |
| html-safe-nonce | c5f62c94d0a65930c92674c1be48b361b96f0f4ae3298184b4556f93eb377ed3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUE4OjNGQzFGNDoyMzg1QkRCOjMzMEUzODk6NkE1N0FCMDIiLCJ2aXNpdG9yX2lkIjoiODg3MzAwMDM1NzY2MTc0Nzk3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d0c6a6602363fc824ca4700652c1ce8f95fe414ca21dd9ecf09294202cb6db03 |
| hovercard-subject-tag | pull_request:2487548865 |
| 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/133127/files |
| twitter:image | https://avatars.githubusercontent.com/u/690853?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/690853?s=400&v=4 |
| og:image:alt | Change the unit test case to use getattr() so that we avoid the bytecode specializer optimizing the access. The specializer will call the __eq__ method before the unit test expects, causing it to ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 017a07c29bdd8a37b5907fc9a689338deb7103b5af7f56714193b2700229b3df |
| 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 | 4cd16a676f89d1cedb932671a5c2d20b8e60f86a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width