bpo-30416: Protect the optimizer during constant folding. (#4860)
It no longer spends much time doing complex calculations and no longer consumes much memory for creating large constants that will be dropped later. This fixes also bpo-21074.
S
Serhiy Storchaka committed
2e3f5701858d1fc04caedefdd9a8ea43810270d2
Parent: a5552f0
Committed by GitHub <noreply@github.com>
on 12/15/2017, 12:11:43 PM