[Patches] [Patch #100654] list comprehensions in Python (for 1.7)

noreply@sourceforge.net noreply@sourceforge.net
Thu, 27 Jul 2000 13:29:54 -0700


Patch #100654 has been updated. 

Project: 
Category: core (C code)
Status: Rejected
Summary: list comprehensions in Python (for 1.7)

Follow-Ups:

Date: 2000-Jun-28 07:07
By: gvanrossum

Comment:
This one's for Tim to thaw later.
-------------------------------------------------------

Date: 2000-Jul-09 15:45
By: twouters

Comment:
The new patch is a CVS diff, which makes it kind of hard to apply (it'll only apply with the right GNU patch, with 'POSIXLY_CORRECT' defined, and with the moon in the right phase, which it currently isn't, apparently ;)
POSIXLY_CORRECT also has some other effects, like that patch refuses to create new files :P Can I ask for a normal recursive-diff so I can recreate the range-list-literal patch relative to this one ?

-------------------------------------------------------

Date: 2000-Jul-24 06:15
By: montanaro

Comment:
This new patch is simply an update to keep up with the recent ANSIfication of the Python source...

-------------------------------------------------------

Date: 2000-Jul-27 13:08
By: gvanrossum

Comment:
I actually like this a lot (am running with it myself!), but the patch needs to be reworked so that it requires [(x,x) for x in ...] instead of allowing [x,x for x in ...].

It also may require integration with the range literals syntax, but that should be relatively minor.
-------------------------------------------------------

Date: 2000-Jul-27 13:29
By: montanaro

Comment:
Okay, the grammar stuff is a little bit beyond me and I don't have the time to investigate it fully at the moment.  
*** Perhaps someone can give me a little direction... ***


-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=100654&group_id=5470