News for hackers. Stuff that matters.
Re:Evolution of a Python programmer by pgbovine on Friday January 29, 2010 @02:59PM (#1087404)
wait, is @tailcall part of the Python standard library? or just something the author made-up for illustrative purposes?
Re:Evolution of a Python programmer by micheles on Friday January 29, 2010 @10:39PM (#1088183)
You can find a version of tailcall in the Python cookbook or here: http://pypi.python.org/pypi/decorator#dealing-with-third-par...
Re:Evolution of a Python programmer by bdr on Friday January 29, 2010 @03:17PM (#1087453)
Re:Evolution of a Python programmer by sophacles on Friday January 29, 2010 @03:43PM (#1087509)
There are a few /very/ hacky @tailcall decorators floating around the web. In some cases they actually speed things up some small amount. A year or two ago there was a bug furor over bytecode hacking -- such things were the result :)
Re:Evolution of a Python programmer by notaddicted on Friday January 29, 2010 @03:16PM (#1087451)
I just tried typing it into the interpreter in 2.6 and 3, it doesn't appear to exist.