* Improve PEP 649's description of its semantics.
* Stipulate that name resolution for annotations
under 649 must be *identical* to stock semantics.
* *Don't* specify exactly the mechanism that conformant
implementations must use to implement 649. Instead,
*do* describe how CPython might do it, but leave the
actual details of how to implement 649 up to each
language implementation.
* Incorporate Jelle's suggestion that the formats for
inspect.get_annotations() be in an enum.IntEnum.
* Fix lint.
* PEP 693: Postpone 3.12.0b1 by two weeks (#3139)
* 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>
* Incorporate changes from feedback, mark Accepted.
* Fix PEP 12 header *order compliance*. Wow.
* Fix Sphinx complaints.
* Make enum consistent, flesh out observed semantics.
* Add "Resolution" header, as pointed out by Hugo.
* Switch to other URL for Resolution header.
* Apply ``global_enum`` to ``inspect.AnnotationFormat``
* Final? text / semantics cleanup pass.
* "accept" -> "accepts". Bettering my Englishes.
* Add new "post history" reflecting the updates.
* Update post history with all conversations, courtesy CAM!
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* Fix typo. Thanks, Emily!
Co-authored-by: Emily Morehouse <emilyemorehouse@gmail.com>
* Add "Discussions-To" header. Thanks, CAM!
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* Attempt to satisfy "validate-post-history" hook.
---------
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Emily Morehouse <emilyemorehouse@gmail.com>
* Move the "Mistaken rejection" section up to Overview.
* Stipulate that the exact value of strings returned by SOURCE
format may change in the future.
* Disallow walrus and generator operators in annotation expressions.
* PEP 649: fix backticks
* PEP 649: fix typos
* PEP 649: update formatting
* PEP 649: update formatting
* PEP 649: remove redundant emacs metadata
* PEP 649: use more roles
Changes detected by Topy (https://github.com/intgr/topy), all changes
verified by hand, false positives have been omitted.
These range from straight-out misspellings to debatable hyphen placement.
The hyphen changes are supported by grammar manuals of style.