Lambda function Turing completeness

2013-07-31 Thread Musical Notation
Is it possible to write a Turing-complete lambda function (which does not 
depend on named functions) in Python?
-- 
http://mail.python.org/mailman/listinfo/python-list


Script that converts between indentation and curly braces in Python code

2013-07-31 Thread Musical Notation
Is there any script that converts indentation in Python code to curly braces? 
The indentation is sometime lost when I copy my code to an application or a 
website.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Script that converts between indentation and curly braces in Python code

2013-07-31 Thread Musical Notation
On Jul 31, 2013, at 19:27, IshIsh  wrote:

> Try from __future__ import braces as the first line of a source file (or 
> typing it in an interactive session), and watch the interpreter's 
> response...
"SyntaxError: not a chance" I already know that.-- 
http://mail.python.org/mailman/listinfo/python-list