[Python-bugs-list] [ python-Bugs-442647 ] 2.2alpha1: from __future__ import
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 19 Jul 2001 08:28:26 -0700
Bugs item #442647, was opened at 2001-07-18 19:18
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=442647&group_id=5470
Category: Parser/Compiler
Group: Python 2.2
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Gerhard Häring (ghaering)
Assigned to: Guido van Rossum (gvanrossum)
Summary: 2.2alpha1: from __future__ import
Initial Comment:
I noticed that
from __future__ import nested_scopes, generators
doesn't enable the yield keyword, while the reverse
order of importing from __future__ does. I think that
the order of imports shouldn't matter.
Code showing this behaviour attached.
----------------------------------------------------------------------
>Comment By: Guido van Rossum (gvanrossum)
Date: 2001-07-19 08:28
Message:
Logged In: YES
user_id=6380
Fixed in parser.c 2.20 (will find its way into descr-branch
soon).
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2001-07-19 05:21
Message:
Logged In: YES
user_id=6380
You're right. I'll see if I can fix this.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=442647&group_id=5470