[issue13112] backreferences in comprehensions

2011-10-08 Thread yoch
yoch added the comment: Okay, thanks ;) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue13112] backreferences in comprehensions

2011-10-07 Thread Mark Dickinson
Mark Dickinson added the comment: I meant to include a link to the mailing list: http://mail.python.org/mailman/listinfo/python-ideas -- ___ Python tracker ___

[issue13112] backreferences in comprehensions

2011-10-07 Thread Mark Dickinson
Mark Dickinson added the comment: Hi, You're proposing a change to the core language and syntax; the bug-tracker's not really appropriate for this---it's better suited for small, focused changes (preferably with patches!). I suggest that you start a thread on the python-ideas mailing list

[issue13112] backreferences in comprehensions

2011-10-05 Thread yoch
New submission from yoch : Hi, I would like to use backreferences in list comprehensions (or other comprehensions), such as : [[elt for elt in lst if elt] for lst in matrix if \{1}] # \{1} is back reference to [elt for elt in lst if elt] # to filter the result of the first comprehension It w