diff options
author | Stéphane Wirtel <stephane@wirtel.be> | 2019-02-21 11:11:53 +0100 |
---|---|---|
committer | Pablo Galindo <Pablogsal@gmail.com> | 2019-02-21 10:11:53 +0000 |
commit | 3ad91673057d410bf9f8c53df6bb8aa18c4b68ca (patch) | |
tree | ca2e9969eec7990a9a91061e5b2814a08aee5dd5 /Python/marshal.c | |
parent | ea6207d593832fe50dbca39e94c138abbd5d266d (diff) | |
download | cpython-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/marshal.c')
0 files changed, 0 insertions, 0 deletions