mirror of https://github.com/python/cpython
gh-93351: Add news entry and what's new entry for changes in gh-93351 (#95175)
This commit is contained in:
parent
d291a82df3
commit
9762572d0a
|
@ -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
|
||||
=============
|
||||
|
|
|
@ -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.
|
Loading…
Reference in New Issue