PEP308: Yet another syntax proposal

holger krekel pyth at devel.trillke.net
Mon Feb 10 19:22:03 EST 2003


James J. Besemer wrote:
> 
> 
> Andrew Dalke wrote:
> > Andrew Koenig:
> > 
> >>Yes -- as I've noted elsewhere in this discussion, Lib/unittest.py
> >>actually contains a (minor) bug because it uses and/or where it
> >>doesn't fit.  The code is on lines 618-619:
> >>
> >>        self.stream.writeln("Ran %d test%s in %.3fs" %
> >>                            (run, run == 1 and "" or "s", timeTaken))
> > 
> > 
> > And I've noted elsewhere (so no need to followup on this thread)
> > that from that snippet it appear that the person who wrote this
> > has more exprience in using other languages (hence the strange
> > use of 'writeln') than Python, so that this is perhaps not the best
> > indicator of an apropriate Python solution.
> 
> Doh.
> 
> You silly.

This is not a great way to argue.  Despite the huge amount of
discussions we have managed to have a rather friendly discussion. 
Why do you want to change it? 

> The POINT is that the example contains yet another glaring BUG.

As if Andrew doesn't know that.  To me it's silly to read his
paragraph as if he was just complaining about 'writeln' and
missed the point. 

> In trusted Python library code.

fixed 8 month ago. 

    holger





More information about the Python-list mailing list