Raymond Hettinger added the comment: This looks fine. Feel free to apply and to backport this to earlier versions.
I would have guessed that the C compiler would have automatically removed the tail recursion, but your experience would indicate otherwise. ---------- assignee: -> twouters _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29942> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com