Withdraw 288 in favor of 343.

This commit is contained in:
Raymond Hettinger 2005-06-15 16:34:03 +00:00
parent aa16af4b48
commit df82c82ddc
2 changed files with 12 additions and 4 deletions

View File

@ -92,7 +92,6 @@ Index by Category
S 284 Integer for-loops Eppstein, Ewing
S 286 Enhanced Argument Tuples von Loewis
I 287 reStructuredText Docstring Format Goodger
S 288 Generators Attributes and Exceptions Hettinger
S 294 Type Names in the types Module Tirosh
S 297 Support for System Upgrades Lemburg
S 298 The Locked Buffer Interface Heller
@ -205,6 +204,7 @@ Index by Category
SD 269 Pgen Module for Python Riehl
SR 270 uniq method for list objects Petrone
SR 271 Prefixing sys.path by command line option Giacometti
SR 288 Generators Attributes and Exceptions Hettinger
SR 295 Interpretation of multiline string constants Koltsov
SR 296 Adding a bytes Object Type Gilbert
SR 308 If-then-else expression GvR, Hettinger
@ -330,7 +330,7 @@ Numerical Index
SF 285 Adding a bool type GvR
S 286 Enhanced Argument Tuples von Loewis
I 287 reStructuredText Docstring Format Goodger
S 288 Generators Attributes and Exceptions Hettinger
SR 288 Generators Attributes and Exceptions Hettinger
SF 289 Generator Expressions Hettinger
I 290 Code Migration and Modernization Hettinger
I 291 Backward Compatibility for Standard Library Norwitz

View File

@ -3,7 +3,7 @@ Title: Generators Attributes and Exceptions
Version: $Revision$
Last-Modified: $Date$
Author: python@rcn.com (Raymond D. Hettinger)
Status: Draft
Status: Withdrawn
Type: Standards Track
Created: 21-Mar-2002
Python-Version: 2.5
@ -16,6 +16,14 @@ Abstract
raising exceptions and sharing data with running generators.
Status
This PEP is withdrawn. The exception raising mechanism was extended
and subsumed into PEP 343. The attribute passing capability
never built a following, did not have a clear implementation,
and did not have a clean way for the running generator to access
its own namespace.
Rationale
@ -49,7 +57,7 @@ Specification for Generator Attributes
the reference. For example:
def mygen(filename):
self = mygen.get_instance()
self = sys.get_generator()
myfile = open(filename)
for line in myfile:
if len(line) < 10: