-
-
Notifications
You must be signed in to change notification settings - Fork 32k
Merged
Changes from 1 commit
Commits
Show all changes
77 commits
Select commit
Hold shift + click to select a range
985f8df
Add __annotate__ descriptors
JelleZijlstra c822ffa
fix refleaks
JelleZijlstra e80095e
blurb
JelleZijlstra 90ff2c4
Fix some tests
JelleZijlstra 026c0ff
regen globals
JelleZijlstra 7968744
Some initial work
JelleZijlstra 4e54197
Add bytecode for adding annotate
JelleZijlstra 4469b32
compiler changes
JelleZijlstra 47d672e
Functions work
JelleZijlstra ab9359c
Raise AssertionError on the wrong format
JelleZijlstra e65d55a
Merge remote-tracking branch 'upstream/main' into pep649-compile
JelleZijlstra e50cd62
Modules and classes
JelleZijlstra afae5c0
attempts
JelleZijlstra e5a7b1a
Fixes
JelleZijlstra 3f26d44
Merge remote-tracking branch 'upstream/main' into pep649-compile
JelleZijlstra 31a4471
Fix code object name
JelleZijlstra fbb1d88
Start fixing test_type_annotations
JelleZijlstra f452eb2
Fix class scoping
JelleZijlstra 8c4b4e3
unyielding
JelleZijlstra cbf9a3d
Fix test_typing
JelleZijlstra 5d182fc
Fix test_type_parmas
JelleZijlstra ce98c19
Add test, add to inspect
JelleZijlstra e0578fc
Use inspect constants
JelleZijlstra ed16167
test_grammar tweaks
JelleZijlstra f38de20
fix test_positional_only_arg
JelleZijlstra 87baca2
Fix test_module
JelleZijlstra 355d3df
Fix symtable tests
JelleZijlstra f9d81b6
fix test_pydoc
JelleZijlstra dd1f64a
fix test_traceback
JelleZijlstra 62f5b3b
fix test_opcodes
JelleZijlstra b66ad8b
Merge branch 'main' into pep649-compile
JelleZijlstra 1a63f5d
Raise NotImplementedError
JelleZijlstra 82c0dbc
Merge remote-tracking branch 'upstream/main' into pep649-compile
JelleZijlstra a0c39b5
blurb
JelleZijlstra 083bbc5
Fix test_dis
JelleZijlstra de1b235
Remove broken tests
JelleZijlstra 1c98fe5
Merge remote-tracking branch 'upstream/main' into pep649-compile
JelleZijlstra 5f5cf11
No deferred evaluation in interactive mode
JelleZijlstra 77f3b1c
gh-119443: Turn off from __future__ import annotations in REPL
JelleZijlstra 4217830
Fix refleak
JelleZijlstra 13f5d76
Fix another refleak
JelleZijlstra a121e1a
Merge remote-tracking branch 'upstream/main' into pep649-compile
JelleZijlstra 242301c
Exit scope correctly on error
JelleZijlstra 239ba23
fix test
JelleZijlstra b62e04c
Initialize field
JelleZijlstra c8a9294
Merge remote-tracking branch 'upstream/main' into pep649-compile
JelleZijlstra 5ae206d
self-review
JelleZijlstra 24fd328
Fix crash found by CIFuzz
JelleZijlstra 0f9d0c5
Merge remote-tracking branch 'upstream/main' into pep649-compile
JelleZijlstra c181864
fix merge
JelleZijlstra 0befff5
Name the function as __annotate__
JelleZijlstra ada6573
Merge remote-tracking branch 'upstream/main' into pep649-compile
JelleZijlstra ae7714c
Replace find_ann()
JelleZijlstra 431811a
fix test
JelleZijlstra 7ca24d3
Remove second compiler pass
JelleZijlstra 2ab5d07
Fix refleak
JelleZijlstra 3b4a645
Fix a test
JelleZijlstra 1dfd02b
Fix bug when there are only non-simple annotations
JelleZijlstra daba318
Fix more tests
JelleZijlstra 0daf0b1
Merge remote-tracking branch 'upstream/main' into pep649-compile
JelleZijlstra b066b3d
Remove REPL special case
JelleZijlstra 7669361
no docstrings in the repl
JelleZijlstra c6a1b80
Fix pyrepl test
JelleZijlstra 5cdbdd7
CR feedback
JelleZijlstra e748feb
8000
Merge remote-tracking branch 'upstream/main' into pep649-compile
JelleZijlstra a2b4f9e
Merge remote-tracking branch 'upstream/main' into pep649-compile
JelleZijlstra bd469ab
Still generate __annotate__ if "from __future__ import annotations" i…
JelleZijlstra 278de22
Regen globals
JelleZijlstra 487ea34
Merge branch 'main' into pep649-compile
JelleZijlstra 8f486ba
Merge remote-tracking branch 'upstream/main' into pep649-compile
JelleZijlstra 6b563db
Feedback from Bénédikt Tran
JelleZijlstra 0058b82
add test
JelleZijlstra 517fb56
Merge remote-tracking branch 'upstream/main' into pep649-compile
JelleZijlstra 21f93b6
Merge remote-tracking branch 'upstream/main' into pep649-compile
JelleZijlstra f72dbca
Undo changes to inspect that we do not want
JelleZijlstra 8674eab
fix
JelleZijlstra ee11fd9
Fix more tests
JelleZijlstra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Merge remote-tracking branch 'upstream/main' into pep649-compile
- Loading branch information
commit e65d55a6ac4a432eaa19dc2a58c9afeb4202c743
There are no files selected for viewing
This merge commit was added into this branch cleanly.
There are no new changes to show, but you can still view the diff.
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.
gh-119180: PEP 649 compiler changes #119361
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