Skip to content

Commit

Permalink
pythongh-93351: Add news entry and what's new entry for changes in py…
Browse files Browse the repository at this point in the history
  • Loading branch information
pablogsal committed Jul 23, 2022
1 parent d291a82 commit 35c568d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Doc/whatsnew/3.11.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1501,6 +1501,10 @@ Changes in the Python API
is larger than the population size, a :exc:`ValueError` is raised.
(Contributed by Raymond Hettinger in :issue:`40465`.)

* :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. (Contributed by Pablo Galindo in :gh:`93351`)


Build Changes
=============
Expand Down
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 35c568d

Please sign in to comment.