mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
* Add new capability to the PEG parser to type variable assignments. For instance:
```
| a[asdl_stmt_seq*]=';'.small_stmt+ [';'] NEWLINE { a }
```
* Add new sequence types from the asdl definition (automatically generated)
* Make `asdl_seq` type a generic aliasing pointer type.
* Create a new `asdl_generic_seq` for the generic case using `void*`.
* The old `asdl_seq_GET`/`ast_seq_SET` macros now are typed.
* New `asdl_seq_GET_UNTYPED`/`ast_seq_SET_UNTYPED` macros for dealing with generic sequences.
* Changes all possible `asdl_seq` types to use specific versions everywhere.
|
||
|---|---|---|
| .. | ||
| asdl_highlight.py | ||
| c_annotations.py | ||
| escape4chm.py | ||
| patchlevel.py | ||
| peg_highlight.py | ||
| pyspecific.py | ||
| suspicious.py | ||