commit | 2e3f5701858d1fc04caedefdd9a8ea43810270d2 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Fri Dec 15 14:11:43 2017 +0200 |
committer | GitHub <noreply@github.com> | Fri Dec 15 14:11:43 2017 +0200 |
tree | e1c92b967a8f0935f65139338f4b7c170609c46e | |
parent | a5552f023e1d8cbafee1e51d316cc581deb2295f [diff] |
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.