[2.7] bpo-30416: Protect the optimizer during constant folding. (GH-4865) by serhiy-storchaka · Pull Request #4896 · python/cpython
…pythonGH-4865) 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.. (cherry picked from commit b580f4f)
serhiy-storchaka
changed the title
[2.7] [3.6] bpo-30416: Protect the optimizer during constant folding. (GH-4865)
[2.7] bpo-30416: Protect the optimizer during constant folding. (GH-4865)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters