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 [1], but here is > a rather old version of Python on ftp: > > ftp://ftp.uni-duisburg.de/local/systems/unix/old_stuff/ > > > [1] 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 delimiters! steve@runes:~/personal/python/python-0.9.1$ ./python0.9.1 >>> x = "hello" Parsing error: file <stdin>, line 1: x = "hello" ^ Unhandled exception: run-time error: syntax error >>> x = 'hello' >>> The exception system was primitive: >>> 1/0 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 library! 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, exec(stmt) return func -- Steven -- https://mail.python.org/mailman/listinfo/python-list