Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.019 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'subject:text': 0.05; 'dan': 0.09; 'lawrence': 0.09; 'referenced': 0.09; 'bug': 0.12; '>on': 0.16; 'ball.': 0.16; 'codec': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'number?': 0.16; 'simpson': 0.16; 'skip:> 20': 0.16; 'subject:exception': 0.16; 'exception': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'issue.': 0.22; 'header:User- Agent:1': 0.23; 'cheers,': 0.24; 'this:': 0.26; 'header:In-Reply- To:1': 0.27; 'code': 0.31; '>>>>': 0.31; 'bug?': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'there.': 0.32; 'text': 0.33; 'sense': 0.34; "can't": 0.35; 'skip:> 10': 0.36; 'doing': 0.36; 'charset:us- ascii': 0.36; 'too': 0.37; 'to:addr:python-list': 0.38; 'anything': 0.39; 'does': 0.39; 'to:addr:python.org': 0.39; 'called': 0.40; 'is.': 0.60; 'eye': 0.61; "you're": 0.61; 'content-disposition:inline': 0.62; 'love': 0.65; 'funny': 0.74; 'ball,': 0.84; 'boy,': 0.84; 'glove,': 0.84; 'joke,': 0.84; 'received:192.168.15': 0.84; 'short,': 0.84 Date: Mon, 9 Mar 2015 09:56:17 +1100 From: Cameron Simpson To: python-list@python.org Subject: Re: surprising exception text MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) References: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.19 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1425855386 news.xs4all.nl 2853 [2001:888:2000:d::a6]:50990 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:87164 On 08Mar2015 18:52, Mark Lawrence 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 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