New submission from Batuhan <batuhanosmantask...@gmail.com>:
I was going through old issues and I found @inada.naoki's comment on issue 36551 > How about converting `[x for x in it]` to `[*it]` in AST? Is this feature still wanted? I can try to work on an implementation for this if there is a need. Also should this cover set (`{x for x in it}`) comprehensions? ---------- messages: 356965 nosy: BTaskaya, inada.naoki priority: normal severity: normal status: open title: AST Optimization for Single Target List Comprehension _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38847> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com