Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #108354
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: [Python-ideas] Boolean parameters guidelines |
| Date | Sun, 8 May 2016 08:24:33 -0600 |
| Lines | 15 |
| Message-ID | <mailman.514.1462717477.32212.python-list@python.org> (permalink) |
| References | <nglneq$pah$1@ger.gmane.org> <20160508015932.GS12028@ando.pearwood.info> <CAH0mxTR3bDqedWR_rcfmiyUpKLGKrhan05N9UR=v_yDRWcQyVA@mail.gmail.com> <20160508064113.GU12028@ando.pearwood.info> <CALwzidmRMvDdvDbpSCVN1QjtVxuLMEqWmy3SzN_W8tb6BPcobQ@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| X-Trace | news.uni-berlin.de LiCwOUZuqm8NFDIgLPqXNAK8UVaSUadmn60WVVKWdyvw== |
| Return-Path | <ian.g.kelly@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.03; 'subject:Python': 0.05; 'data:': 0.07; 'received:209.85.218': 0.10; 'def': 0.13; '2016': 0.16; 'len(data)': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:ideas': 0.16; 'subject:parameters': 0.16; 'wrote:': 0.16; '<': 0.18; '>': 0.18; 'subject:] ': 0.19; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'least': 0.27; 'message-id:@mail.gmail.com': 0.27; 'raise': 0.29; 'skip:_ 10': 0.32; 'received:google.com': 0.35; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'received:209': 0.38; 'data': 0.39; 'subject:-': 0.39; 'to:addr:python.org': 0.40; 'copy-paste': 0.84; 'to:name:python': 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=K4unAHpDoRkSsUGokhbtbA71q4lD9mLKb1esfV7huBY=; b=nZewk7BwIGsVMNVlW3u+E2D+p6ILHVjVSHhfCANeRPxbHLVC7FzNbI1j8WSa5fCY7q g68wIu9bbu/hUOPFABmp2yVjU6dUSYKtHqZ8LDe3uHI4lHHhkM6keyu51383X/D+riIY 0GJglvys/EmwjREePL9NC98a1kFPd6jn7fE8N0aQ6caozBAPSN71jonP2BMwrWO298v6 8fAzmVq2EdukbG67N0/g8IB/S5ik9Dj7VHAWApOMsYCV5BGIzXxAjD4c2qBdBdPC0z4n q4BU4VTekSsqTnvsyZGyOi20Ww5oLe72woqiNnIFZjxqZ7+GG0RF//F4LE6DvP6HAt6b SATQ== |
| 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=K4unAHpDoRkSsUGokhbtbA71q4lD9mLKb1esfV7huBY=; b=M/JXVdAg1LmEstFk7qTg4OMz7ZjEEv914+PmyY9M/sQY+CBa9ORs+hZZRM+mYyMq2t MOKIJgWFXF6KCxxSVeH7fkKWK7auTJFIWs/HX7YKdUVo0desJVD83RRcWWAbaLFyCZIt IuZICgUytBi3EwQfs1sNsRlB9eQjcGaV8nrOuW6yfhn+cMXJXGePC/AwK1i+fbKfd0zQ LUtcvrf5bJLQbAWQiZgxCatIws6WafvaxhuKnKRH/wTcPpXDyeSOWCUEftiuG12zG5hX 8XIY8lEKuLiBiBR47p5UmIrCT7bC2lE/oxCXs/jmb4nO44mP+vPIKVfnRm+xR/bEipm/ zNZg== |
| X-Gm-Message-State | AOPr4FUf834uJXAPAEqEDkKNHdHLFL1ADgaNcvKuMnGCOFLOKNkBxVuyw0rr+QZO4aCLLH8lwi1AW3j1JRh6wA== |
| X-Received | by 10.157.51.29 with SMTP id f29mr13230203otc.115.1462717473994; Sun, 08 May 2016 07:24:33 -0700 (PDT) |
| In-Reply-To | <20160508064113.GU12028@ando.pearwood.info> |
| 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 | <CALwzidmRMvDdvDbpSCVN1QjtVxuLMEqWmy3SzN_W8tb6BPcobQ@mail.gmail.com> |
| X-Mailman-Original-References | <nglneq$pah$1@ger.gmane.org> <20160508015932.GS12028@ando.pearwood.info> <CAH0mxTR3bDqedWR_rcfmiyUpKLGKrhan05N9UR=v_yDRWcQyVA@mail.gmail.com> <20160508064113.GU12028@ando.pearwood.info> |
| Xref | csiph.com comp.lang.python:108354 |
Show key headers only | View raw
On May 8, 2016 12:42 AM, "Steven D'Aprano" <steve@pearwood.info> wrote:
>
> def pvariance(data, mu=None):
> if iter(data) is data:
> data = list(data)
> n = len(data)
> if n < 1:
> raise StatisticsError('pvariance requires at least one data
point')
> ss = _ss(data, mu)
> T, ss = _ss(data, mu)
Copy-paste error?
> return _convert(ss/n, T)
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [Python-ideas] Boolean parameters guidelines Ian Kelly <ian.g.kelly@gmail.com> - 2016-05-08 08:24 -0600
Re: [Python-ideas] Boolean parameters guidelines Steven D'Aprano <steve@pearwood.info> - 2016-05-09 01:34 +1000
Re: [Python-ideas] Boolean parameters guidelines Ian Kelly <ian.g.kelly@gmail.com> - 2016-05-08 10:08 -0600
csiph-web