Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #107456

Re: PEP proposal: sequence expansion support for yield statement: yield *

From justin walters <walters.justin01@gmail.com>
Newsgroups comp.lang.python
Subject Re: PEP proposal: sequence expansion support for yield statement: yield *
Date 2016-04-21 08:19 -0700
Message-ID <mailman.17.1461251986.23626.python-list@python.org> (permalink)
References <573e61523bfc412ca8674b06d70f2fd7@sraex01sc.sisa.samsung.com> <mailman.36.1461181657.12923.python-list@python.org> <57181d0e$0$1591$c3e8da3$5496439d@news.astraweb.com> <CAO1D73Fs6_U95TKsmytdH3wgnyUgrZHcaCk5J6xL__xia6U0Ww@mail.gmail.com>

Show all headers | View raw


I agree with the others that the new syntax is not needed.

I would also like to point out that I believe any new added syntax or
functionality should avoid the use of '*' and '**' as both of these
characters are already used for many things such as optional arguments and
mathematical operators. Adding more uses for said characters only decreases
the readability of the code.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

PEP proposal: sequence expansion support for yield statement: yield * Ken Seehart <k.seehart@partner.samsung.com> - 2016-04-20 19:34 +0000
  Re: PEP proposal: sequence expansion support for yield statement: yield * Steven D'Aprano <steve@pearwood.info> - 2016-04-21 10:21 +1000
    Re: PEP proposal: sequence expansion support for yield statement: yield * justin walters <walters.justin01@gmail.com> - 2016-04-21 08:19 -0700
    Re: PEP proposal: sequence expansion support for yield statement: yield * Chris Angelico <rosuav@gmail.com> - 2016-04-22 01:26 +1000

csiph-web