| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Ugh, those test failures look like an existing bug on FrameLocalsProxy. |
Sorry, something went wrong.
|
@python/organization-owners Could you block blockchainGuru1018 for spam & misguided reviews? TiA. |
Sorry, something went wrong.
Could you be more specific? Maybe raise an issue for that so I can fix it later? |
Sorry, something went wrong.
There were a few things I had to skip in test_inspect. I think they're bugs, but I haven't investigated the test enough to be sure. |
Sorry, something went wrong.
|
Okay now we need some typing expert to review this. @JelleZijlstra maybe? |
Sorry, something went wrong.
|
I'd also appreciate it if @AA-Turner could take a look; he's done some recent work with types and _types. |
Sorry, something went wrong.
|
You don't really need a static typing expert for the types module; it predates static typing and is useful even without static typing. The PR seems pretty straightforward to me. |
Sorry, something went wrong.
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
| 'MethodDescriptorType', 'MethodType', 'MethodWrapperType', | ||
| 'ModuleType', 'NoneType', 'NotImplementedType', 'SimpleNamespace', | ||
| 'TracebackType', 'UnionType', 'WrapperDescriptorType', | ||
| 'FrameLocalsProxyType' |
There was a problem hiding this comment.
Please keep the list sorted (GH doesn't let me add a suggestion)
Sorry, something went wrong.
There was a problem hiding this comment.
I had that originally but @picnixz had reservations about it.
Sorry, something went wrong.
There was a problem hiding this comment.
I think it's better to keep the list sorted rather than attempt to minimise 3-4 lines of diff here.
Sorry, something went wrong.
There was a problem hiding this comment.
Fixed.
Sorry, something went wrong.
There was a problem hiding this comment.
My suggestion was to keep it sorted but by just adding the export on its own line.
Sorry, something went wrong.
There was a problem hiding this comment.
Sorry, missed this. I've updated it now; does that look better?
Sorry, something went wrong.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This reverts commit 58e8577.
This reverts commit 22c2bbe.
…nsity/cpython into frameslocalsproxy-types
This reverts commit fee5256.
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>
There was a problem hiding this comment.
Thanks!
A
Sorry, something went wrong.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
Any final objections before I merge this? |
Sorry, something went wrong.
|
All good with me. A |
Sorry, something went wrong.
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Expose PEP-667's FrameLocalsProxy type as FrameLocalsProxyType in the types module.
📚 Documentation preview 📚: https://cpython-previews--136546.org.readthedocs.build/en/136546/library/types.html#types.FrameLocalsProxyType