Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-119180: Documentation for PEP 649 and 749#122235
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
Merged
Uh oh!
There was an error while loading. Please reload this page.
Merged
Changes from all commits
Commits
Show all changes
24 commits Select commit Hold shift + click to select a range
20dcb62 gh-119180: Documentation for PEP 649/749
JelleZijlstra 206560c Document evaluate_forward_ref
JelleZijlstra edd12a2 Merge remote-tracking branch 'upstream/main' into pep649-doc
JelleZijlstra 79ce456 add something
JelleZijlstra 3f70c21 docs for annotationlib
JelleZijlstra e297349 Update inspect
JelleZijlstra d52fb08 Apply suggestions from code review
JelleZijlstra 4e7a2a5 Merge remote-tracking branch 'upstream/main' into pep649-doc
JelleZijlstra 35312e7 More feedback
JelleZijlstra b30abbd Docs expansion
JelleZijlstra bcb6a9f formatting
JelleZijlstra c82fb66 Merge remote-tracking branch 'upstream/main' into pep649-doc
JelleZijlstra b4f6385 More documentation
JelleZijlstra 6ebdce9 Apply suggestions from code review
JelleZijlstra 52dc99e stray whitespace
JelleZijlstra 61eedbd Suggestions from Adam on evaluate_forward_ref
JelleZijlstra 27668ce Expand docs, based on suggestion by Adam
JelleZijlstra 6254e18 Merge remote-tracking branch 'upstream/main' into pep649-doc
JelleZijlstra c42cb60 doctest?
JelleZijlstra 1873912 expand
JelleZijlstra 86001c1 Feedback from Savannah
JelleZijlstra c1943fa fix link
JelleZijlstra 889f5aa shorter lines
JelleZijlstra 6dd39fb Apply suggestions from code review
JelleZijlstra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -64,8 +64,10 @@ language using this mechanism: | ||
| | generator_stop | 3.5.0b1 | 3.7 | :pep:`479`: | | ||
| | | | | *StopIteration handling inside generators* | | ||
| +------------------+-------------+--------------+---------------------------------------------+ | ||
| | annotations | 3.7.0b1 | TBD [1]_ | :pep:`563`: | | ||
| | | | | *Postponed evaluation of annotations* | | ||
| | annotations | 3.7.0b1 | Never [1]_ | :pep:`563`: | | ||
| | | | | *Postponed evaluation of annotations*, | | ||
| | | | | :pep:`649`: *Deferred evalutation of | | ||
| | | | | annotations using descriptors* | | ||
| +------------------+-------------+--------------+---------------------------------------------+ | ||
| .. XXX Adding a new entry? Remember to update simple_stmts.rst, too. | ||
| @@ -115,11 +117,9 @@ language using this mechanism: | ||
| .. [1] | ||
| ``from __future__ import annotations`` was previously scheduled to | ||
| become mandatory in Python 3.10, but the Python Steering Council | ||
| twice decided to delay the change | ||
| (`announcement for Python 3.10 <https://mail.python.org/archives/list/[email protected]/message/CLVXXPQ2T2LQ5MP2Y53VVQFCXYWQJHKZ/>`__; | ||
| `announcement for Python 3.11 <https://mail.python.org/archives/list/[email protected]/message/VIZEBX5EYMSYIJNDBF6DMUMZOCWHARSO/>`__). | ||
| No final decision has been made yet. See also :pep:`563` and :pep:`649`. | ||
| become mandatory in Python 3.10, but the change was delayed and ultimately | ||
| canceled. This feature will eventually be deprecated and removed. See | ||
| :pep:`649` and :pep:`749`. | ||
| .. seealso:: | ||
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we provide or link to migration guidance here, especially given that this is the first time a
__future__won't become the actual future?