On Sun, 22 Jun 2014 13:18:09 -0700, arbautjc wrote:
> If anybody is interested...
> I think it's the same as the version unearthed recently , but here is
> a rather old version of Python on ftp:
>  http://legacy.python.org/download/releases/early/
It claims to be the same version, 0.9.1.
Among other differences, Python 0.9 doesn't accept "" as string
>>> x = "hello"
Parsing error: file <stdin>, line 1:
x = "hello"
Unhandled exception: run-time error: syntax error
>>> x = 'hello'
The exception system was primitive:
Unhandled exception: run-time error: integer division by zero
Stack backtrace (innermost last):
File "<stdin>", line 1
There's no lambda built-in, but there is a version in the standard
def lambda(args, expr):
if '\n' in args or '\n' in expr:
raise RuntimeError, 'lambda: no cheating!'
stmt = 'def func(' + args + '): return ' + expr + '\n'
print 'lambda:', stmt,