-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
gh-74929: Implement PEP 667 #115153
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
gh-74929: Implement PEP 667 #115153
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
42d7186
Basic prototype for frame proxy
gaogaotiantian 7eeab1b
Fix some lint and remove oprun check
gaogaotiantian 60e70e7
Not entirely work yet
gaogaotiantian 1454ce4
Fix a bug
gaogaotiantian 0045274
Change code style and add GC
gaogaotiantian de73bc9
Clean up code
gaogaotiantian ca92393
Disable all fast/local functions
gaogaotiantian ff886ff
Update tests for the new f_locals
gaogaotiantian 9690a2d
Comment out the pop for now
gaogaotiantian 6e9848a
Convert f_locals to dict first
gaogaotiantian b84b0df
Add static to static functions, add interface for new C API
gaogaotiantian bebff28
Add some tests and a few methods
gaogaotiantian d846de9
Implement all methods
gaogaotiantian d00a742
Make f_extra_locals extra lazy
gaogaotiantian 1a4344d
Merge branch 'main' into pep667
gaogaotiantian f720e12
Fix typo
gaogaotiantian 64d3772
Remove print debugging
gaogaotiantian 2eadbf0
Fix some styling issue
gaogaotiantian cbae199
Update generated files for cAPI
gaogaotiantian 9e7edf8
Remove f_fast_as_locals and useless calls for sys.settrace
gaogaotiantian 523cb75
📜🤖 Added by blurb_it.
blurb-it[bot] 4b83311
Add the new type to static types
gaogaotiantian ae2db7c
Remove internal APIs for fast locals
gaogaotiantian bf45c02
Add extra tests for closure
gaogaotiantian 026e15e
Add the type to globals-to-fix
gaogaotiantian f42980d
Add CAapi test
gaogaotiantian e693ad0
Polish lint
gaogaotiantian 5dd045b
Apply some simple changes
gaogaotiantian 30ecd4d
Update Misc/NEWS.d/next/Core and Builtins/2024-04-27-21-44-40.gh-issu…
gaogaotiantian f35c5e3
Abstract the key index part
gaogaotiantian 5844fb4
Fix error handling
gaogaotiantian 06277f9
Make key index work better
gaogaotiantian e1c3f56
Add comments for GetHiddenLocals
gaogaotiantian b672d84
Add global test
gaogaotiantian 3e32572
Remove unsupported methods
gaogaotiantian 8dc4664
Support non-string keys
gaogaotiantian 652f641
Use static function for setitem
gaogaotiantian f29e6a3
Fix the list comp
gaogaotiantian e0ca4fe
Fix mapping check
gaogaotiantian f78156a
Fix frame_getlocals
gaogaotiantian 4503145
Fix test error
gaogaotiantian cdac22c
Change the new ref for getcode
gaogaotiantian 49287ff
Avoid creating the frame object if possible
gaogaotiantian 378aacf
Remove a single blank line
gaogaotiantian File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
8000 option>Diff view
Fix some lint and remove oprun check
- Loading branch information
commit 7eeab1b19e1a420a4346a4fafe8b69004af56aef
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.