commit | 3ad91673057d410bf9f8c53df6bb8aa18c4b68ca | [log] [tgz] |
---|---|---|
author | Stéphane Wirtel <stephane@wirtel.be> | Thu Feb 21 11:11:53 2019 +0100 |
committer | Pablo Galindo <Pablogsal@gmail.com> | Thu Feb 21 10:11:53 2019 +0000 |
tree | ca2e9969eec7990a9a91061e5b2814a08aee5dd5 | |
parent | ea6207d593832fe50dbca39e94c138abbd5d266d [diff] |
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.