New submission from pablo stapff <pablo.sta...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue7675>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to