[New-bugs-announce] [issue7675] help() doesn't accept unicode literals in built in docstrings
pablo stapff
report at bugs.python.org
Mon Jan 11 10:40:13 CET 2010
New submission from pablo stapff <pablo.stapff at gmail.com>:
We use umlaut in our docstrings and when we use the help() function to extract the documentation, the function reports an error:
UnicodeEncodeError: 'ascii' codec can't encode character....
Our docstrings are specified as unicode literals and the source file contains the line:
# -*- coding: utf-8 -*-
just import the module and make:
help(tudelut.tudelut)
----------
components: Library (Lib)
files: tudelut.py
messages: 97584
nosy: psd
severity: normal
status: open
title: help() doesn't accept unicode literals in built in docstrings
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file15827/tudelut.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7675>
_______________________________________
More information about the New-bugs-announce
mailing list