[issue12699] strange behaviour of locale.getlocale() -> None, None

2011-08-05 Thread Feth AREZKI
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

[issue12189] Python 2.6.6 fails to compile a source whereas pycompile 1.0 and Python 2.7 succeed

2011-05-26 Thread Feth AREZKI
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

[issue12189] Python 2.6.6 fails to compile a source whereas pycompile 1.0 succeeds

2011-05-26 Thread Feth AREZKI
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(&#