]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-93351: Add news entry and what's new entry for changes in gh-93351 (GH-95175)...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 26 Jul 2022 10:20:51 +0000 (03:20 -0700)
committerGitHub <noreply@github.com>
Tue, 26 Jul 2022 10:20:51 +0000 (12:20 +0200)
(cherry picked from commit 9762572d0aa3569ba82eeceb708ddea9f12918fd)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Misc/NEWS.d/next/Core and Builtins/2022-07-23-19-16-25.gh-issue-93351.0Jyvu-.rst [new file with mode: 0644]

diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-07-23-19-16-25.gh-issue-93351.0Jyvu-.rst b/Misc/NEWS.d/next/Core and Builtins/2022-07-23-19-16-25.gh-issue-93351.0Jyvu-.rst
new file mode 100644 (file)
index 0000000..97cf805
--- /dev/null
@@ -0,0 +1,3 @@
+:class:`ast.AST` node positions are now validated when provided to
+:func:`compile` and other related functions. If invalid positions are
+detected, a :exc:`ValueError` will be raised.