[Python-checkins] r45571 - peps/trunk/pep-3100.txt
guido.van.rossum
python-checkins at python.org
Wed Apr 19 23:56:53 CEST 2006
Author: guido.van.rossum
Date: Wed Apr 19 23:56:53 2006
New Revision: 45571
Modified:
peps/trunk/pep-3100.txt
Log:
Add making ... a general expression.
Modified: peps/trunk/pep-3100.txt
==============================================================================
--- peps/trunk/pep-3100.txt (original)
+++ peps/trunk/pep-3100.txt Wed Apr 19 23:56:53 2006
@@ -59,10 +59,11 @@
* 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 @@
.. [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
More information about the Python-checkins
mailing list