Skip to content

[2.7] bpo-30416: Protect the optimizer during constant folding. (GH-4865) #4896

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Dec 15, 2017

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)

https://bugs.python.org/issue30416

…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 serhiy-storchaka added the type-bug An unexpected behavior, bug, or error label Dec 15, 2017
@bedevere-bot bedevere-bot added the type-bug An unexpected behavior, bug, or error label Dec 15, 2017
@serhiy-storchaka 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) Dec 18, 2017
@bedevere-bot bedevere-bot added the type-bug An unexpected behavior, bug, or error label Dec 18, 2017
@serhiy-storchaka serhiy-storchaka deleted the backport-b580f4f-2.7 branch July 8, 2018 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting merge type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants