pydoc3.5 borks on my Mac

Cameron Simpson cs at zip.com.au
Sun Feb 1 17:09:43 EST 2015


On 01Feb2015 14:17, Skip Montanaro <skip.montanaro at gmail.com> wrote:
>On Sun, Feb 1, 2015 at 1:35 PM, Peter Otten <__peter__ at web.de> wrote:
>> $ LANG=en_US.UTF-8 python3 -c 'import locale; print(locale.getpreferredencoding(False))'
>
>Aha!
>
>hgpython% LANG=en_US.UTF-8 python3.5 -c 'import locale;
>print(locale.getpreferredencoding(False))'
>UTF-8
>hgpython% LANG=en_US.utf8 python3.5 -c 'import locale;
>print(locale.getpreferredencoding(False))'
>US-ASCII
>
>Thank you. I always thought these Unicode encodings were supposed to
>be case-insensitive.

The latter lacks a dash. See if it's that.

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

A feature is a bug with seniority.



More information about the Python-list mailing list