Re:Evolution of a Python programmer
by pmiller2 on Friday January 29, 2010 @02:50PM
(#1087378)
You should never be ashamed to admit ignorance, especially after it's been cured. :-)
[ Parent
| on HN ]
wait, is @tailcall part of the Python standard library? or just something the author made-up for illustrative purposes?
You can find a version of tailcall in the Python cookbook or here: http://pypi.python.org/pypi/decorator#dealing-with-third-par...
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.