Cesare Di Mauro wrote:

Also, optimizations can be done not only for numbers, but even for tuples,
lists, dictionaries, and... slices (pag. 22). See pages 21-24 of
this<http://wpython2.googlecode.com/files/Beyond%20Bytecode%20-%20A%20Wordcode-based%20Python.pdf>

For the record, constant-folding, and the lack of it, does seem to come up in users' requests. Whether they *need* constant-folding or not, it seems that some people have come to expect it. E.g. see this recent thread on python-list:

http://code.activestate.com/lists/python-list/596506/



--
Steven

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to