summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2022-07-23 18:35:44 (GMT)
committerGitHub <noreply@github.com>2022-07-23 18:35:44 (GMT)
commit9762572d0aa3569ba82eeceb708ddea9f12918fd (patch)
tree2ab5c34fab8a36cd1485ba6fe34289b8f1bcf55c /Misc/NEWS.d
parentd291a82df33cd8c917a374fef2a2373beda78b77 (diff)
downloadcpython-9762572d0aa3569ba82eeceb708ddea9f12918fd.zip
cpython-9762572d0aa3569ba82eeceb708ddea9f12918fd.tar.gz
cpython-9762572d0aa3569ba82eeceb708ddea9f12918fd.tar.bz2
gh-93351: Add news entry and what's new entry for changes in gh-93351 (#95175)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2022-07-23-19-16-25.gh-issue-93351.0Jyvu-.rst3
1 files changed, 3 insertions, 0 deletions
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
index 0000000..97cf805
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2022-07-23-19-16-25.gh-issue-93351.0Jyvu-.rst
@@ -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.