PEP 642 v3: Explicit pattern matching syntax (#1756)

* requires that all uses of bare names be qualified with the user's intent
* ensures that all name binding operations in patterns use the as keyword
* drops alignment with iterable unpacking syntax (always requires square brackets)
* drops alignment with class instantiation syntax (defines a new dedicated instance attribute matching syntax instead)
This commit is contained in:
Nick Coghlan 2021-01-03 23:45:20 +10:00 committed by GitHub
parent cdbac8e836
commit 84b1972292
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1510 additions and 585 deletions

File diff suppressed because it is too large Load Diff