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 *

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From justin walters <walters.justin01@gmail.com>
Newsgroups comp.lang.python
Subject Re: PEP proposal: sequence expansion support for yield statement: yield *
Date Thu, 21 Apr 2016 08:19:44 -0700
Lines 7
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>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de Fe4+87yC6dr2E6tylb/JcQ+RnH8FDYz8gJQ7TgW9Hmqw==
Return-Path <walters.justin01@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.027
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'subject:PEP': 0.07; 'optional': 0.09; 'syntax': 0.13; "'*'": 0.16; 'operators.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:yield': 0.16; 'arguments': 0.22; 'subject:support': 0.22; 'code.': 0.23; 'needed.': 0.23; 'header:In-Reply-To:1': 0.24; 'message- id:@mail.gmail.com': 0.27; 'mathematical': 0.27; 'point': 0.33; 'received:google.com': 0.35; 'should': 0.36; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'agree': 0.37; 'things': 0.38; 'received:209': 0.38; 'to:addr:python.org': 0.40; 'avoid': 0.61; 'more': 0.63; 'believe': 0.66; 'subject: *': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=BT5rwgvj/rD3faCIcVAuYprKtBd2XZG4YnvWLRauZD0=; b=VTqK4UrSajlRSoCiGX9N42CL3w5usY5cDMWpETEd6TQlrYUMgxI26MDoZ24HQ04uq4 tbktjzy2kVQfMM6SQozPtC3tNR9INevHeXcV70wWWguKYAav4r/8PFbBkoz6T/0CEtil uY2+5iK9ihZm+an93CX9WA4KVUO/G+rQIUwvI5k2MYsR50v8lq6/3aLjudzSMoiuHMtR dw+0N8JRUd0bx8lUXbAkbPPqfTy08xcimgL1j2y1Ko9/6at46txQYEW2+BvYbSIodlfX zxmk5yDkB4rsbW5YKplDzXFGHBEWRFXZLefHrVoTufE/GGHtNFDFHDeEXNh0e9lwTCon 5vSQ==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=BT5rwgvj/rD3faCIcVAuYprKtBd2XZG4YnvWLRauZD0=; b=KbNFQCmIFa5Bn1eEv21042gYegtBlXNshhqegw80ZXd31P1MovNnepdLkvVfApM9TU 1hKNnGGOtpYbLTxz3DcAm3EwyEAXr2JZCYz/Sj099XqyKRYH5a/T6Vr657s3Dl4alikd XEIKBqOCeWCn0x9gah5Ky1BUj/IBYoLV+hNHYYrRqllIUsRjy6xVVXC2+E9nC0G1LoCH XxJlrLJlWNwklJMw8S1zOVAnwMP7yw91wt3wMkmL0XlMIncYKNOMAiIqJfATHZ6Qsq24 8VTaPuBY4GE/y5C3hLi7zMtNOG80JypPoz8Iqy0ahMKY6EkocgN8kS3dUHzI71xkhupJ J96w==
X-Gm-Message-State AOPr4FWEpXKiPIR/3jIS6zU8LBe8DmuBZzSZd7zCSaEOGvc+a8y/DvAk3NzO33CjpdcDQ2ySJ3KCwiQUjKXUrg==
X-Received by 10.25.88.133 with SMTP id m127mr5593267lfb.156.1461251984293; Thu, 21 Apr 2016 08:19:44 -0700 (PDT)
In-Reply-To <57181d0e$0$1591$c3e8da3$5496439d@news.astraweb.com>
X-Content-Filtered-By Mailman/MimeDel 2.1.22
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <CAO1D73Fs6_U95TKsmytdH3wgnyUgrZHcaCk5J6xL__xia6U0Ww@mail.gmail.com>
X-Mailman-Original-References <573e61523bfc412ca8674b06d70f2fd7@sraex01sc.sisa.samsung.com> <mailman.36.1461181657.12923.python-list@python.org> <57181d0e$0$1591$c3e8da3$5496439d@news.astraweb.com>
Xref csiph.com comp.lang.python:107456

Show key headers only | 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