On Tue, Jul 14, 2015 at 11:38 PM, Marko Rauhamaa <ma...@pacujo.net> wrote: > Chris Angelico <ros...@gmail.com>: > >> On Tue, Jul 14, 2015 at 10:28 PM, Marko Rauhamaa <ma...@pacujo.net> wrote: >>> I would rather optimize by default and disable optimizations with >>> --debug or equivalent. >> >> That assumes that it's simply an optimization. This is a distinct >> semantic change. > > No, tail call optimization doesn't change the behavior of the program, > for the worse anyway.
It does, because you lose traceback records. That's pretty significant when you come to try to debug something. ChrisA -- https://mail.python.org/mailman/listinfo/python-list