Message348248
Yes, this should be discussed on python-ideas first, so I'm closing it here.
But to be honest with you, there's really no chance this would get accepted. It's just too easy to do it with existing list comprehension syntax, which is much more general purpose.
>>> [v for v in [1, 2, 3, 4, 5] if not v in [2]]
[1, 3, 4, 5] |
|
Date |
User |
Action |
Args |
2019-07-21 14:55:21 | eric.smith | set | recipients:
+ eric.smith, xtreak, Артур Григорьев |
2019-07-21 14:55:21 | eric.smith | set | messageid: <1563720921.46.0.79740211758.issue37643@roundup.psfhosted.org> |
2019-07-21 14:55:21 | eric.smith | link | issue37643 messages |
2019-07-21 14:55:21 | eric.smith | create | |
|