summaryrefslogtreecommitdiffstats
path: root/Python/_warnings.c
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2020-11-07 12:35:17 (GMT)
committerGitHub <noreply@github.com>2020-11-07 12:35:17 (GMT)
commit8805a4dad201473599416b2c265802b8885f69b8 (patch)
tree5d1c8947ac9733025aaa1cb58b62625ac4a6736f /Python/_warnings.c
parentee2549c2ba8bae00f2b2fea8a39c6dfbd1d06520 (diff)
downloadcpython-8805a4dad201473599416b2c265802b8885f69b8.zip
cpython-8805a4dad201473599416b2c265802b8885f69b8.tar.gz
cpython-8805a4dad201473599416b2c265802b8885f69b8.tar.bz2
bpo-42282: Fold constants inside named expressions (GH-23190)
* The AST optimiser wasn't descending into named expressions, so any constant subexpressions weren't being folded at compile time * Remove "default:" clauses inside the AST optimiser code to reduce the risk of similar bugs passing unnoticed in future compiler changes
Diffstat (limited to 'Python/_warnings.c')
0 files changed, 0 insertions, 0 deletions