[Python-checkins] python/nondist/peps pep-0343.txt,1.15,1.16

gvanrossum@users.sourceforge.net gvanrossum at users.sourceforge.net
Tue May 31 22:27:17 CEST 2005


Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18549
Modified Files:
	pep-0343.txt 
Log Message:
Warn readers of coming attractions.
Index: pep-0343.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0343.txt,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- pep-0343.txt	18 May 2005 14:24:27 -0000	1.15
+++ pep-0343.txt	31 May 2005 20:27:15 -0000	1.16
@@ -15,6 +15,14 @@
 decided to withdraw PEP 340 and propose a slight variant on
 PEP 310.
 
+Evolutionary Note
+
+ After ample discussion on python-dev, I'll add 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. Until I get a chance to update the PEP, see reference
+ [2]. I'm also leaning towards 'with' as the keyword.
+
 Motivation and Summary
 
 PEP 340, Anonymous Block Statements, combined many powerful ideas:
@@ -445,6 +453,8 @@
 
 [1] http://blogs.msdn.com/oldnewthing/archive/2005/01/06/347666.aspx
 
+ [2] http://mail.python.org/pipermail/python-dev/2005-May/053885.html
+
 Copyright
 
 This document has been placed in the public domain.


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /