Add making ... a general expression.

This commit is contained in:
Guido van Rossum 2006-04-19 21:56:53 +00:00
parent 18d51db878
commit aeea16c9ef
1 changed files with 5 additions and 1 deletions

View File

@ -59,10 +59,11 @@ Core language
* Support only new-style classes; classic classes will be gone [1]_
* Replace ``print`` by a function [16]_
* Do something so you can catch multiple exceptions using ``except E1,
E2, E3:``. Maybe use ``except E1, E2, E3 as err:`` if you want the
E2:``. Probably use ``except E1, E2, E3 as err:`` if you want the
error variable? [3]_
* ``None``, ``True`` and ``False`` become keywords [4]_
(Or perhaps just ``None``?)
* ``...`` to become a general expression element [24]_
* ``as`` becomes a keyword [5]_ (probably in 2.6 already)
* Have list comprehensions be syntactic sugar for passing an
equivalent generator expression to ``list()``; as a consequence the
@ -284,6 +285,9 @@ References
.. [23] PEP 308 ("Conditional Expressions")
http://www.python.org/dev/peps/pep-0308
.. [24] python-3000 email
http://mail.python.org/pipermail/python-3000/2006-April/000996.html
.. [#pep238] PEP 238 (Changing the Division Operator)
http://www.python.org/dev/peps/pep-0238