summaryrefslogtreecommitdiff
path: root/Python/hamt.c
diff options
context:
space:
mode:
authorStéphane Wirtel <stephane@wirtel.be>2019-02-21 11:11:53 +0100
committerPablo Galindo <Pablogsal@gmail.com>2019-02-21 10:11:53 +0000
commit3ad91673057d410bf9f8c53df6bb8aa18c4b68ca (patch)
treeca2e9969eec7990a9a91061e5b2814a08aee5dd5 /Python/hamt.c
parentea6207d593832fe50dbca39e94c138abbd5d266d (diff)
downloadcpython-git-3ad91673057d410bf9f8c53df6bb8aa18c4b68ca.tar.gz
bpo-36052: Raise a SyntaxError when assigning a value to __debug__ with := (GH-11958)
Trying to assign a value to __debug__ using the assignment operator is supposed to fail, but a missing check for forbidden names when setting the context in the ast was preventing this behaviour.
Diffstat (limited to 'Python/hamt.c')
0 files changed, 0 insertions, 0 deletions