New submission from Feth AREZKI :
Tested on linux arch & debian, freeBSD and MacOSX :
% python2.7
[...]
>>> import locale
>>> locale.getlocale()
(None, None)
>>> locale.getlocale(locale.LC_CTYPE) #or any type
(None, None)
% python3.2
[...]
>>> impo
Feth AREZKI added the comment:
Amaury Forgeot d'Arc wrote:
>The problem is probably near this code in Lib/doctest.py (in _load_testfile)::
Hm, I discovered this without using doctest, and used it only to present the
testcase. Are you sure that it relates to Lib/doctest (candid que
New submission from Feth AREZKI :
At least on Linux debian sid, it seems that Python 2.6.6 compile builtin does
not like the empty line with only '\r\n' in it.
The following doctest story runs with the attached CRLF'ed file:
"""
>>> fd = open(