UnicodeEncodeError on help(polar)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
matplotlib |
Unknown
|
Unknown
|
|||
matplotlib (Ubuntu) |
Fix Released
|
Medium
|
Artur Rona |
Bug Description
Ubuntu 10.10
python-matplotlib (0.99.3-1ubuntu1)
UnicodeEncodeError is raised when help on matplotlib.
$python
Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib.
>>> help(polar)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
return pydoc.help(*args, **kwds)
File "/usr/lib/
self.
File "/usr/lib/
else: doc(request, 'Help on %s:')
File "/usr/lib/
pager(
File "/usr/lib/
return title % desc + '\n\n' + text.document(
File "/usr/lib/
if inspect.
File "/usr/lib/
contents.
File "/usr/lib/
if inspect.
File "/usr/lib/
lambda t: t[1] == 'data')
File "/usr/lib/
name, mod, maxlen=70, doc=doc) + '\n')
File "/usr/lib/
line += '\n' + self.indent(
UnicodeEncodeError: 'ascii' codec can't encode character u'\xb0' in position 116: ordinal not in range(128)
Related branches
tags: | added: patch |
Confirmed on matplotlib svn trunk.