[issue14920] help(urllib.parse) fails when LANG=C

Senthil Kumaran report at bugs.python.org
Sat May 26 04:01:42 CEST 2012


Senthil Kumaran <senthil at uthcode.com> added the comment:

I have fixed the help to include only ascii characters ( represented in hex) so that conversion to bytes is represented in the help and also the terminal whose LANG is C is able to display them too.

On Ubuntu, when I had LANG=C, locale gave the following o/p and the previous help, (which broke for the Tuukka Tolvanen) was working fine too.

LANG=C
LANGUAGE=en_US:en
LC_CTYPE=en_US.UTF-8
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE=en_US.UTF-8
LC_MONETARY="C"
LC_MESSAGES=en_US.UTF-8
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=

I guess, the original bug could be related to settings differing on gentoo. Anyways, the help docstring is changed now.

----------
assignee:  -> orsenthil
nosy: +orsenthil
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14920>
_______________________________________


More information about the Python-bugs-list mailing list