Adrian Wielgosik added the comment:

Attached squashed patch.

> But moving constant folding from the peephole optimizer to the AST level 
> (...) would totally eliminate the need in your patch.

I'm aware of that and I'm okay with it. I chose an unfortunate moment for 
implementing this :)

----------
Added file: http://bugs.python.org/file45664/clean_co_consts_squashed.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28813>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to