Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
gh-129463: Remove two attributes from ForwardRef equality#132283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
JelleZijlstra commentedApr 9, 2025
We should also move the ForwardRef tests out of test_typing, I can do that in a later PR |
AlexWaygood commentedApr 9, 2025
Where are |
JelleZijlstra commentedApr 9, 2025
They are set on _Stringifier objects, which are turned into ForwardRefs through |
AlexWaygood commentedApr 15, 2025
could be worth adding some comments above the |
5e80fee intopython:mainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
__code__is created on demand in the__forward_code__property__ast_node__is used together with__arg__to compute__forward_arg__, which is already used by itself in the comparison__hash__and__eq__#129463