[Python-checkins] python/nondist/peps pep-0343.txt,1.21,1.22
mwh@users.sourceforge.net
mwh at users.sourceforge.net
Fri Jun 3 11:32:59 CEST 2005
Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16166
Modified Files:
pep-0343.txt
Log Message:
Incredibly minor clarification.
Index: pep-0343.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0343.txt,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- pep-0343.txt 2 Jun 2005 15:13:55 -0000 1.21
+++ pep-0343.txt 3 Jun 2005 09:32:57 -0000 1.22
@@ -13,11 +13,12 @@
After a lot of discussion about PEP 340 and alternatives, I
decided to withdraw PEP 340 and proposed a slight variant on PEP
- 310. After more discussion, I have added back a mechanism
- for raising an exception in a suspended generator using a throw()
+ 310. After more discussion, I have added back a mechanism for
+ raising an exception in a suspended generator using a throw()
method, and a close() method which throws a new GeneratorExit
- exception; these additions were first proposed in [2] and
- universally approved of. I'm also changing the keyword to 'with'.
+ exception; these additions were first proposed on python-dev in
+ [2] and universally approved of. I'm also changing the keyword to
+ 'with'.
If this PEP is approved, the following PEPs will be rejected due
to overlap:
More information about the Python-checkins
mailing list