[New-bugs-announce] [issue13112] backreferences in comprehensions
yoch
report at bugs.python.org
Thu Oct 6 01:31:34 CEST 2011
New submission from yoch <yoch.melka at 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 first comprehension
It would be possible to do this ?
Thanks
----------
messages: 144976
nosy: yoch.melka
priority: normal
severity: normal
status: open
title: backreferences in comprehensions
type: feature request
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13112>
_______________________________________
More information about the New-bugs-announce
mailing list