Commit Graph

11 Commits

Author SHA1 Message Date
Jelle Zijlstra 5cea9b5d29
PEP 695: Lazy evaluation, concrete scoping semantics, other changes (#3122)
- Lazy evaluation means that referencing a later type variable works at runtime
- Disallow walrus in TypeVar bounds, and also disallow yield/yield from/await
  in the same contexts
- Remove rejection of lambda lifting; that is the implementation we are using now
- Change the AST
- Change of direction on mangling
- More precise scoping rules

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2023-05-08 11:21:04 -07:00
Jelle Zijlstra 3964463146
PEP 695: Mark as accepted (#3103) 2023-04-12 20:57:03 -07:00
Guido van Rossum da690c6b54
PEP 695: Update Post-History to include Discourse thread (#3033) 2023-03-02 09:53:02 -08:00
Yurii Karabas 9f29302037
PEP-695: Fix formatting of code example (#2867) 2022-11-06 07:54:48 -08:00
Jelle Zijlstra 83b976da18
Add Typing Topic (#2670)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-10-06 17:36:39 -07:00
Eric Traut b88f26c984
PEP 695: Incorporate feedback on draft PEP (#2782)
Co-authored-by: Eric Traut <erictr@microsoft.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Guido van Rossum <guido@python.org>
2022-09-13 21:26:28 -07:00
KotlinIsland 754c8fb1f6
PEP 695: Fix/improve syntax & content of Language Survey section (#2725) 2022-08-28 12:00:56 -05:00
DetachHead fd50a6c9e1
PEP 695: fix TypeScript syntax (#2726)
fix typescript syntax
2022-07-24 16:59:02 -07:00
Eric Traut 5e0be8f86f
PEP 695: Incorporated recent feedback from python-dev. (#2713)
Co-authored-by: Eric Traut <erictr@microsoft.com>
2022-07-14 16:58:30 -07:00
Eric Traut eba9adb2d1
PEP 695: Incorporate feedback (#2706)
Incorporated changes from latest round of feedback, and describe new implementation strategy.

Co-authored-by: Eric Traut <erictr@microsoft.com>
2022-07-11 21:04:34 -07:00
Eric Traut 3fe4784290
PEP 695: Type Parameter Syntax (#2697)
Co-authored-by: Eric Traut <erictr@microsoft.com>
Co-authored-by: Erik De Bonte <erikd@microsoft.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-07-02 19:20:44 -07:00