[issue11209] Example for itertools.count is misleading

2011-02-13 Thread Johannes Ammon
New submission from Johannes Ammon : The example code for itertools.count (http://docs.python.org/library/itertools.html#itertools.count) says # count(2.5, 0.5) -> 3.5 3.0 4.5 ... I think that should read # count(2.5, 0.5) -> 2.5 3.0 3.5 ... -- assignee: docs@

[issue10417] unittest triggers UnicodeEncodeError with non-ASCII character in the docstring of the test function

2010-11-14 Thread Johannes Ammon
Johannes Ammon added the comment: Same behaviour with 2.7 -- versions: +Python 2.7 ___ Python tracker <http://bugs.python.org/issue10417> ___ ___ Python-bug

[issue10417] unittest triggers UnicodeEncodeError with non-ASCII character in the docstring of the test function

2010-11-14 Thread Johannes Ammon
New submission from Johannes Ammon : When there is a non-ASCII character in the docstring of a test function, unittest triggers an UnicodeEncodeError when called with "--verbose". I have this file unicodetest.py: - # -*- coding: utf-8 -*- impor