[Python-checkins] gh-93351: Add news entry and what's new entry for changes in gh-93351 (GH-95175) (GH-95177)

ambv webhook-mailer at python.org
Tue Jul 26 06:20:56 EDT 2022


https://github.com/python/cpython/commit/5e971e816d8ee1fd911ab38be261425669ec21ce
commit: 5e971e816d8ee1fd911ab38be261425669ec21ce
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2022-07-26T12:20:51+02:00
summary:

gh-93351: Add news entry and what's new entry for changes in gh-93351 (GH-95175) (GH-95177)

(cherry picked from commit 9762572d0aa3569ba82eeceb708ddea9f12918fd)

Co-authored-by: Pablo Galindo Salgado <Pablogsal at gmail.com>

files:
A Misc/NEWS.d/next/Core and Builtins/2022-07-23-19-16-25.gh-issue-93351.0Jyvu-.rst

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 0000000000000..97cf8055ac54b
--- /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.



More information about the Python-checkins mailing list