[issue13112] backreferences in comprehensions

2011-10-08 Thread yoch
yoch yoch.me...@gmail.com added the comment: Okay, thanks ;) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13112 ___ ___ Python-bugs-list

[issue13112] backreferences in comprehensions

2011-10-07 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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

[issue13112] backreferences in comprehensions

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

[issue13112] backreferences in comprehensions

2011-10-05 Thread yoch
New submission from yoch yoch.me...@gmail.com: 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