One of those links was discussing extend, not append. The other wanted a repeated append, best solved by a list comprehension. Neither makes a good case for your suggestion.
On Fri, Jun 15, 2018, 5:40 PM Mikhail V <mikhail...@gmail.com> wrote: > On Sat, Jun 16, 2018 at 3:26 AM, Michael Selik <m...@selik.org> wrote: > > > > > > On Fri, Jun 15, 2018, 5:24 PM Mikhail V <mikhail...@gmail.com> wrote: > >> > >> there is just nothing against append() method. > > > > > > Then why break the Zen: there should be only one obvious way? > > I think the question could be applied to 99% proposals > > >> But I see from various posts in the web and SO - people just want to > spell > >> it compact, and keep the 'item' part clean of brackets. > > > > > > If you're going to cite things, please link to them. > > Want to force me to work? :) > > I made pair of links already in previous posts, not directly > telling concrete wishes, but shows approximately the picture. > > > Something more concrete maybe: > > https://stackoverflow.com/a/3653314/4157407 > https://stackoverflow.com/q/13818992/4157407 >
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/