]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] bpo-44589: raise a SyntaxError when mapping patterns have duplicate literal...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 15 Jul 2021 01:00:35 +0000 (18:00 -0700)
committerGitHub <noreply@github.com>
Thu, 15 Jul 2021 01:00:35 +0000 (18:00 -0700)
commit016af14d93cfba43e7a95721a97fa954c534af8e
tree44fa512a709f45edb5086ca578bf90ad2e1d3cc4
parentff7af2203c1f03d9300e93e3e06a47fb78cc2bef
[3.10] bpo-44589: raise a SyntaxError when mapping patterns have duplicate literal keys (GH-27131) (GH-27157)

(cherry picked from commit 2693132292b2acf381ac6fa729bf3acf41d9d72b)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
Automerge-Triggered-By: GH:brandtbucher
Doc/reference/compound_stmts.rst
Lib/test/test_patma.py
Misc/NEWS.d/next/Core and Builtins/2021-07-13-23-19-41.bpo-44589.59OH8T.rst [new file with mode: 0644]
Python/compile.c