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


Groups > comp.lang.python > #83617

Re: annoying doctest problem

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <skip.montanaro@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.012
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'doctest': 0.09; 'cc:addr :python-list': 0.11; 'jan': 0.12; 'behaviour.': 0.16; 'none.': 0.16; 'prefer.': 0.16; 'to:addr:pearwood.info': 0.16; 'to:addr:steve+comp.lang.python': 0.16; "to:name:steven d'aprano": 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'interpret': 0.24; 'skip': 0.24; 'subject:problem': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'sort': 0.25; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'evaluation': 0.30; 'statement': 0.30; 'message- id:@mail.gmail.com': 0.30; "d'aprano": 0.31; 'steven': 0.31; 'critical': 0.32; 'programmers': 0.33; 'received:google.com': 0.35; 'there': 0.35; 'impression': 0.36; "didn't": 0.36; 'wrong': 0.37; 'skip:& 10': 0.38; '12,': 0.39; 'how': 0.40; '2015': 0.84; '7:00': 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 :cc:content-type; bh=6TJJAAY4mgtYdH6+v0r1sY3xCrSjbY+fgEytuK3jA0Q=; b=hiSRdoNgVrxopxzXsWUPhyeJBk9OyKmobbcdeC0+hO/ZVeroGHZP6W4zPjubrO1Cuv ozjofRkfUcLgY+kops2KZC9wdhNtYFrorIeO2HW6JSV6w2bTF//84chUTKfi4sXNycrt R1YT8GFd+/0kGgGgQ2euFZKJPZ+8LBBWxDiz9r3VHPkc6fhp6CMIAEcBcF0V6FCQzMPg MF8j/Dv5ZUhIFx1yExcOFYT52n3mpqECXavaX83hklsW66KUfnenim8cuSFau61CQ5CX mHANWsO7S0GGbvdvTzOylOo3PHqqiLEt2F0MjJTbTEATGzEos8vEtE/x6BdvEIsQihuO y8yg==
MIME-Version 1.0
X-Received by 10.202.60.4 with SMTP id j4mr16999292oia.83.1421086523273; Mon, 12 Jan 2015 10:15:23 -0800 (PST)
In-Reply-To <54b3c566$0$13004$c3e8da3$5496439d@news.astraweb.com>
References <0e9e5a03-2291-490e-9220-fa6744c9e2e5@googlegroups.com> <54b35a9c$0$2738$c3e8da3$76491128@news.astraweb.com> <mailman.17618.1421064945.18130.python-list@python.org> <54b3c566$0$13004$c3e8da3$5496439d@news.astraweb.com>
Date Mon, 12 Jan 2015 12:15:23 -0600
Subject Re: annoying doctest problem
From Skip Montanaro <skip.montanaro@gmail.com>
To "Steven D'Aprano" <steve+comp.lang.python@pearwood.info>
Content-Type multipart/alternative; boundary=001a113cd36e6a3b72050c787d61
Cc Python <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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>
Newsgroups comp.lang.python
Message-ID <mailman.17628.1421086527.18130.python-list@python.org> (permalink)
Lines 43
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1421086527 news.xs4all.nl 2943 [2001:888:2000:d::a6]:59220
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:83617

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, Jan 12, 2015 at 7:00 AM, Steven D'Aprano <
steve+comp.lang.python@pearwood.info> wrote:

> I didn't mean to give the impression that doctest was wrong to be fussy, or
> dumb if you prefer. I think it's exactly the right behaviour.
>

I wasn't actually concerned that Steven might have misunderstood how
doctest works, just that other less experienced programmers might interpret
his statement as suggesting that doctest's comparisons were somehow wrong
or might be made less "fussy". That word suggests to me that there is some
sort of critical evaluation by the fussy party going on (doctest, in this
case), when there is none. Which is why I chose the word "dumb."

Skip

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


Thread

annoying doctest problem gordianknot1981@gmail.com - 2015-01-11 20:20 -0800
  Re: annoying doctest problem gordianknot1981@gmail.com - 2015-01-11 20:30 -0800
  Re: annoying doctest problem Steven D'Aprano <steve@pearwood.info> - 2015-01-12 05:24 +0000
    Re: annoying doctest problem Skip Montanaro <skip.montanaro@gmail.com> - 2015-01-12 06:15 -0600
      Re: annoying doctest problem Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-01-13 00:00 +1100
        Re: annoying doctest problem Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-01-12 14:59 +0000
          Re: annoying doctest problem Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-01-13 02:58 +1100
            Re: annoying doctest problem Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-01-12 16:46 +0000
        Re: annoying doctest problem Skip Montanaro <skip.montanaro@gmail.com> - 2015-01-12 12:15 -0600
    Re: annoying doctest problem Skip Montanaro <skip.montanaro@gmail.com> - 2015-01-12 06:32 -0600
  Re: annoying doctest problem Ned Batchelder <ned@nedbatchelder.com> - 2015-01-12 10:47 -0500
    Re: annoying doctest problem gordianknot1981@gmail.com - 2015-01-12 10:34 -0800

csiph-web