surprising exception text

Mark Lawrence breamoreboy at yahoo.co.uk
Sun Mar 8 19:52:24 EDT 2015


On 08/03/2015 22:56, Cameron Simpson wrote:
> On 08Mar2015 18:52, Mark Lawrence <breamoreboy at 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.
>

Well I can't make head nor tail out of it, might as well be Double Dutch 
or is that Double UK English? :)

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list