summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>2022-07-18 19:43:23 (GMT)
committerGitHub <noreply@github.com>2022-07-18 19:43:23 (GMT)
commitdda9198021b3c34a4882c8524f720b2f83a56ea1 (patch)
treee5dfe38955fe5323b814e60de4b748c8ec362e0d /Misc
parent95ae29d508af16be5221692eecdfe7077ebd5f3f (diff)
downloadcpython-dda9198021b3c34a4882c8524f720b2f83a56ea1.zip
cpython-dda9198021b3c34a4882c8524f720b2f83a56ea1.tar.gz
cpython-dda9198021b3c34a4882c8524f720b2f83a56ea1.tar.bz2
[3.10] gh-94947: Disallow parsing walrus with feature_version < (3, 8) (GH-94948) (#94969)
* gh-94947: Disallow parsing walrus with feature_version < (3, 8) * oops, commit the parser * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>. (cherry picked from commit ae0be5a53bb4caee3de4888341addd9c94133f2d) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2022-07-18-04-48-34.gh-issue-94947.df9gUw.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-07-18-04-48-34.gh-issue-94947.df9gUw.rst b/Misc/NEWS.d/next/Core and Builtins/2022-07-18-04-48-34.gh-issue-94947.df9gUw.rst
new file mode 100644
index 0000000..360ea67
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2022-07-18-04-48-34.gh-issue-94947.df9gUw.rst
@@ -0,0 +1 @@
+:func:`ast.parse` will no longer parse assignment expressions when passed ``feature_version`` less than ``(3, 8)``. Patch by Shantanu Jain.