Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
gh-136492: AddFrameLocalsProxyType
totypes
#136546
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
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Ugh, those test failures look like an existing bug on |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
@python/organization-owners Could you blockblockchainGuru1018 for spam & misguided reviews? TiA. |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Could you be more specific? Maybe raise an issue for that so I can fix it later? |
There were a few things I had to skip in |
Okay now we need some typing expert to review this.@JelleZijlstra maybe? |
I'd also appreciate it if@AA-Turner could take a look; he's done some recent work with |
You don't really need a static typing expert for the |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Misc/NEWS.d/next/Library/2025-07-11-10-23-44.gh-issue-136492.BVi5h0.rst OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Lib/test/test_types.py Outdated
@@ -58,6 +58,7 @@ def test_names(self): | |||
'MethodDescriptorType', 'MethodType', 'MethodWrapperType', | |||
'ModuleType', 'NoneType', 'NotImplementedType', 'SimpleNamespace', | |||
'TracebackType', 'UnionType', 'WrapperDescriptorType', | |||
'FrameLocalsProxyType' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Please keep the list sorted (GH doesn't let me add a suggestion)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I had that originally but@picnixz had reservations about it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I think it's better to keep the list sorted rather than attempt to minimise 3-4 lines of diff here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
My suggestion was to keep it sorted but by just adding the export on its own line.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
FrameLocalsProxy
totypes
FrameLocalsProxyType
totypes
This reverts commit58e8577.
This reverts commit22c2bbe.
…nsity/cpython into frameslocalsproxy-types
This reverts commitfee5256.
Should I test before I push my changes? Yes. Will I ever do it? No.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Uh oh!
There was an error while loading.Please reload this page.
ExposePEP-667's
FrameLocalsProxy
type asFrameLocalsProxyType
in thetypes
module.📚 Documentation preview 📚:https://cpython-previews--136546.org.readthedocs.build/en/136546/library/types.html#types.FrameLocalsProxyType