[Python-bugs-list] [ python-Bugs-495978 ] It's the future for generators
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 22 Mar 2002 13:13:31 -0800
Bugs item #495978, was opened at 2001-12-21 17:17
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=495978&group_id=5470
Category: Python Interpreter Core
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Tim Peters (tim_one)
Assigned to: Nobody/Anonymous (nobody)
Summary: It's the future for generators
Initial Comment:
"from __future__ import generators" should no longer
be required in 2.3a1. Such stmts should also be
removed from the Python library (there's a script
under Tools to automate this).
----------------------------------------------------------------------
>Comment By: Guido van Rossum (gvanrossum)
Date: 2002-03-22 16:13
Message:
Logged In: YES
user_id=6380
There ought to be documentation on what to do when an
optional feature becomes mandatory. Maybe a block comment or
docstring in __future__.py?
----------------------------------------------------------------------
Comment By: Tim Peters (tim_one)
Date: 2002-03-22 15:34
Message:
Logged In: YES
user_id=31435
Neil, if you don't enjoy using the patch system for
straightforward stuff like this, don't feel compelled to
use it. That is, just check it in.
----------------------------------------------------------------------
Comment By: Neil Schemenauer (nascheme)
Date: 2002-03-22 15:04
Message:
Logged In: YES
user_id=35752
The attached patch removes the "yield is an optional keyword"
hacks from the parser. It's not a complete fix for this
bug though.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=495978&group_id=5470