Guessing the encoding from a BOM

Ethan Furman ethan at stoneleaf.us
Thu Jan 16 00:40:23 EST 2014


On 01/15/2014 07:47 PM, Ben Finney wrote:
> Steven D'Aprano writes:
>>
>>      (4) Don't return anything, but raise an exception. (But
>>          which exception?)
>
> +1. I'd like a custom exception class, sub-classed from ValueError.

+1

--
~Ethan~



More information about the Python-list mailing list