2015-12-04 20:16 GMT+01:00 MRAB <python at mrabarnett.plus.com>:
> On 2015-12-04 12:49, Victor Stinner wrote:
> [snip]
>> I don't think that's constant folding, but constant _propagation_.
>> Constant folding is when, say, "1 + 2" replaced by "2".
Oh, you're right. I update the documentation. To avoid confusion, I
just implemented constant folding as well :-D
https://faster-cpython.readthedocs.org/fat_python.html#constant-folding
Victor