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


Groups > comp.lang.python > #87164

Re: surprising exception text

Date 2015-03-09 09:56 +1100
From Cameron Simpson <cs@zip.com.au>
Subject Re: surprising exception text
References <mdi5q9$lmp$2@ger.gmane.org>
Newsgroups comp.lang.python
Message-ID <mailman.179.1425855386.21433.python-list@python.org> (permalink)

Show all headers | View raw


On 08Mar2015 18:52, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote:
>On 08/03/2015 18:20, Steven D'Aprano wrote:
>>Mark Lawrence wrote:
>>>On 08/03/2015 09:15, Cameron Simpson wrote:
>>>>Gotta love this:
>>>>
>>>>TypeError: decoding with 'utf-8' codec failed (TypeError:
>>>>'_io.BufferedReader' does not support the buffer interface)
>>>>
>>>>Not to worry:-)
>>>
>>>What is the bug report number?
>>
>>Who said it was a bug? Cameron called it "surprising", not "wrong".
>
>s/bug/issue/

It isn't an issue. The exception text make perfect sense and I can't think of 
anything I would actually change given what my code was doing wrong.

I just thought it entertaining.

Cheers,
Cameron Simpson <cs@zip.com.au>

It's a, I say it's a *joke* son.  Don't cha get it?  You're built too short,
the good ones go over yer head. Ya got a hole in yer glove, boy, I keep
pitching them and you keep missing them.  Ya gotta keep yer eye on the ball,
son.  Eye.  Ball.  Eyeball.  I almost had a funny there. Joke, that is.
        - Foghorn Leghorn, as referenced by Dan Sorenson in rec.motorcycles

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


Thread

Re: surprising exception text Cameron Simpson <cs@zip.com.au> - 2015-03-09 09:56 +1100

csiph-web