Skip to content
Snippets Groups Projects
Unverified Commit 9762572d authored by Pablo Galindo Salgado's avatar Pablo Galindo Salgado Committed by GitHub
Browse files

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

parent d291a82d
Branches
Tags
No related merge requests found
...@@ -1501,6 +1501,10 @@ Changes in the Python API ...@@ -1501,6 +1501,10 @@ Changes in the Python API
is larger than the population size, a :exc:`ValueError` is raised. is larger than the population size, a :exc:`ValueError` is raised.
(Contributed by Raymond Hettinger in :issue:`40465`.) (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 Build Changes
============= =============
......
: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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment