Chris Angelico <ros...@gmail.com>: > On Thu, Feb 20, 2014 at 9:22 PM, Marko Rauhamaa <ma...@pacujo.net> wrote: >> py35.unless x > 7: >> return > > What about return? Are you allowed to namespace that? And 'from' and > 'import' and '*'?
Old keywords are guaranteed not to clash with programs. Introducing new keywords runs that risk. Hence, C had to introduce the ugly _Bool keyword. > If you're curious about the full proposal, it's PEP 463, an expression > form of the 'except' statement. The latest draft PEP can be found > here: > > https://raw2.github.com/Rosuav/ExceptExpr/master/pep-0463.txt A coworker pointed out that the gist of the PEP has already been implemented by <URL: https://pypi.python.org/pypi/fuckit>. Marko -- https://mail.python.org/mailman/listinfo/python-list