-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-109975: Update 'What's New in Python 3.13' for beta 8000 #118694
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
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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
5 changes: 3 additions & 2 deletions
5
Misc/NEWS.d/next/C API/2024-04-08-09-44-29.gh-issue-117534.54ZE_n.rst
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 | 8000Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
Improve validation logic in the C implementation of :meth:`datetime.fromisoformat` | ||
to better handle invalid years. Patch by Vlad Efanov. | ||
Improve validation logic in the C implementation of | ||
:meth:`datetime.datetime.fromisoformat` to better handle invalid years. | ||
Patch by Vlad Efanov. | ||
2 changes: 1 addition & 1 deletion
2
Misc/NEWS.d/next/Library/2018-02-13-10-02-54.bpo-32839.McbVz3.rst
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 |
---|---|---|
@@ -1 +1 @@ | ||
Add the :meth:`after_info` method for Tkinter widgets. | ||
Add the :meth:`!after_info` method for Tkinter widgets. |
2 changes: 1 addition & 1 deletion
2
Misc/NEWS.d/next/Library/2024-04-17-21-28-24.gh-issue-116931._AS09h.rst
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 |
---|---|---|
@@ -1 +1 @@ | ||
Add parameter *fileobj* check for :func:`tarfile.addfile()` | ||
Add parameter *fileobj* check for :func:`tarfile.TarFile.addfile` |
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
5 changes: 3 additions & 2 deletions
5
Misc/NEWS.d/next/Library/2024-04-24-12-29-33.gh-issue-118221.2k_bac.rst
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
Fix a bug where :func:`sqlite3.iterdump` could fail if a custom :attr:`row | ||
factory <sqlite3.Connection.row_factory>` was used. Patch by Erlend Aasland. | ||
Fix a bug where :meth:`sqlite3.Connection.iterdump` could fail if a custom | ||
:attr:`row factory <sqlite3.Connection.row_factory>` was used. Patch by Erlend | ||
Aasland. |
Oops, something went wrong.
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.
Do you know why these weren't caught on the PR adding them? Is there some configuration change we can make so that NEWS entries get linted properly by Sphinx?
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.
We do lint them with Sphinx Lint, but that doesn't catch everything, especially not bad references.
We only check for warnings from a Sphinx build in files under
Doc/
:cpython/Doc/tools/check-warnings.py
Lines 212 to 216 in c4f9823
We ignore those that are in
.nitignore
because they've not been "cleaned" yet, because we don't want to hassle people over warnings which they didn't introduce.Similarly, we ignore the news files, because during the Sphinx build, they get compiled into a giant 45k line
build/NEWS
which has 700+ warnings (and growing, because we don't check them).And so we don't want to warn for every single PR that adds a small NEWS blurb about those 700 warnings that they didn't introduce.
New entries are added to the top of the compiled NEWS file. One option would be to add a check to ensure the top X lines remain clean. Most NEWS entries are under 10 lines long, and the biggest right now is 18 lines, so checking something like the top 200 or so would prevent new warnings being introduced.
I started work on this in February, see hugovk#61. I'll pick this up again.
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.
Please see PR #119221.