Title: gh-103596: [Enum] do not shadow mixed-in methods/attributes by ethanfurman · Pull Request #103600 · python/cpython · GitHub
Open Graph Title: gh-103596: [Enum] do not shadow mixed-in methods/attributes by ethanfurman · Pull Request #103600 · python/cpython
X Title: gh-103596: [Enum] do not shadow mixed-in methods/attributes by ethanfurman · Pull Request #103600 · python/cpython
Description: For example: class Book(StrEnum): title = auto() author = auto() desc = auto() Book.author.desc is Book.desc but Book.author.title() == 'Author' Using upper-case member names avoids any possible confusion. Issue: gh-103596
Open Graph Description: For example: class Book(StrEnum): title = auto() author = auto() desc = auto() Book.author.desc is Book.desc but Book.author.title() == 'Author' Using upper-case member names...
X Description: For example: class Book(StrEnum): title = auto() author = auto() desc = auto() Book.author.desc is Book.desc but Book.author.title() == 'Author' Using upper-case memb...
Opengraph URL: https://github.com/python/cpython/pull/103600
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:61621caf-5718-47b0-1c39-5f3173da1421 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | DFC4:70C3B:71899A:9A7DC0:6969DFA3 |
| html-safe-nonce | 71992ec87749ef97c3ed35bf42ab7521980bae3d4c12f8af1e090b9bc740db2f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkM0OjcwQzNCOjcxODk5QTo5QTdEQzA6Njk2OURGQTMiLCJ2aXNpdG9yX2lkIjoiMTY3NTgzMDkzMTM5NTA0MzIzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7fc0efb8992ecd92907f18ebc9a4bb078c30710429042c84318bf2d776e471ab |
| hovercard-subject-tag | pull_request:1317466510 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/103600/checks |
| twitter:image | https://avatars.githubusercontent.com/u/7659890?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/7659890?s=400&v=4 |
| og:image:alt | For example: class Book(StrEnum): title = auto() author = auto() desc = auto() Book.author.desc is Book.desc but Book.author.title() == 'Author' Using upper-case member names... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| 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 full-width-p-0 |
| disable-turbo | false |
| 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