pydoc3.5 borks on my Mac

Skip Montanaro skip.montanaro at gmail.com
Sun Feb 1 16:01:14 EST 2015


On Sun, Feb 1, 2015 at 2:31 PM, Chris Angelico <rosuav at gmail.com> wrote:
> Try the other variations: include the hyphen
> but don't capitalize, and the other way around. On my system, all four
> work equally:

Yes, on my system, case doesn't matter, but the hyphen does.

I just tried it out on one of my Linux systems at work. It's an aging
openSuSE 12.2 system, so all I could install was 3.2.3, but it worked
exactly like your system. Any capitalization, with or without the
hyphen, and the pydoc3.2 command worked. With LANG=C or with LANG
unset, I get the UnicodeEncodeError traceback.

FYI, I did open a bug report, and tried to transfer the useful bits
from this thread to it:

http://bugs.python.org/issue23374

Thanks to Peter and Chris. I'm off and running. Well, until I stumble
over the next tree root or crack in the sidewalk...

Skip



More information about the Python-list mailing list