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
N
Nick Coghlan committed
8805a4dad201473599416b2c265802b8885f69b8
Parent: ee2549c
Committed by GitHub <noreply@github.com>
on 11/7/2020, 12:35:17 PM