Warn readers of coming attractions.

This commit is contained in:
Guido van Rossum 2005-05-31 20:27:15 +00:00
parent d994875a12
commit 0c4151b242
1 changed files with 10 additions and 0 deletions

View File

@ -15,6 +15,14 @@ Introduction
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 @@ References
[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.