On Sat, 25 Jul 2015 07:35 am, candide wrote: > Thanks to all for your response, I was not aware that the interpreter > evaluated pure litteral expressions at compile time.
This is an implementation-dependent optimization, so different versions of Python may do more, or less, or even no, optimization. -- Steven -- https://mail.python.org/mailman/listinfo/python-list