[Python-bugs-list] [ python-Bugs-442647 ] 2.2alpha1: from __future__ import

noreply@sourceforge.net noreply@sourceforge.net
Thu, 19 Jul 2001 05:21:00 -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: Open
Resolution: None
Priority: 5
Submitted By: Gerhard Häring (ghaering)
>Assigned to: Greg Ward (gward)
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 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