[issue6625] UnicodeEncodeError on pydoc's CLI

2014-01-13 Thread Berker Peksag
Berker Peksag added the comment: I suppose this is a duplicate of #1065986. Yes, it is. I created a test file from the tests in issue6625_pydoc.diff and ran it on the current 2.7 branch. def foo(): ufooo bar baz \xfcnicode\u2026 return 42 def bar(): uf\xfcr Elise

[issue6625] UnicodeEncodeError on pydoc's CLI

2014-01-13 Thread Torsten Landschoff
Torsten Landschoff added the comment: I tested this as well and it seems to work now. :-) Thanks for fixing it! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6625 ___

[issue6625] UnicodeEncodeError on pydoc's CLI

2014-01-12 Thread Akira Kitada
Akira Kitada added the comment: I suppose this is a duplicate of #1065986. -- nosy: +akitada ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6625 ___

[issue6625] UnicodeEncodeError on pydoc's CLI

2012-07-21 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6625 ___

[issue6625] UnicodeEncodeError on pydoc's CLI

2011-04-27 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6625 ___ ___

[issue6625] UnicodeEncodeError on pydoc's CLI

2010-11-02 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6625 ___ ___

[issue6625] UnicodeEncodeError on pydoc's CLI

2010-02-22 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: Patch with same tests as the previous one, but using better heuristic for output encoding (like Christoph patch). Added the replace error handling, if the output encoding cannot encode all characters. -- Added file:

[issue6625] UnicodeEncodeError on pydoc's CLI

2009-08-05 Thread Christoph Burgmer
Christoph Burgmer cburg...@ira.uka.de added the comment: Here is a diff for test/test_pydoc.py (against Python2.6) which though doesn't trigger due to how Python handles output encoding. This test here will pass, but pydoc will still fail: $ pydoc test/pydoc_mod.py /dev/null Traceback (most

[issue6625] UnicodeEncodeError on pydoc's CLI

2009-08-04 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: After applying your patch, are string (not unicode) docstrings still being handled properly? Adding a test case (in Lib/test/test_pydoc.py) would be nice too. -- nosy: +gagenellina ___

[issue6625] UnicodeEncodeError on pydoc's CLI

2009-08-02 Thread Christoph Burgmer
New submission from Christoph Burgmer cburg...@ira.uka.de: pydoc fails with a UnicodeEncodeError for properly specified Unicode docstrings (u...) on the command line interface. See attached patch that encodes the output with the system's encoding. -- components: Extension Modules