[BangPypers] Braces in Py3k

Anand Balachandran Pillai abpillai at gmail.com
Wed Jul 23 09:16:50 CEST 2008


The header is purposely misleading. Like many "urban legends", there
was a mention of adding C style braces in Python for py3k and this
suggestion was (rightly) vetoed by the BDFL.

In fact, there is a nice message if you try to import "braces" from
the "future". Try doing this at a Py3k prompt.

>>> from __future__ import braces

Let me (the list) know what you see ;)

Check http://www.python.org/dev/peps/pep-3099/ for more information
on such "mythical features".

Regrads

-- 
-Anand


More information about the BangPypers mailing list