From aeea16c9efccd421b5317108cd5e74d0c3a880df Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 19 Apr 2006 21:56:53 +0000 Subject: [PATCH] Add making ... a general expression. --- pep-3100.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pep-3100.txt b/pep-3100.txt index a8b538107..cd7f70ce7 100644 --- a/pep-3100.txt +++ b/pep-3100.txt @@ -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