[issue10492] test_doctest fails with iso-8859-15 locale

2011-01-05 Thread STINNER Victor
STINNER Victor added the comment: "x86 debian parallel 3.x" buildbot is green again! :-) -- ___ Python tracker ___ ___ Python-bugs-li

[issue10492] test_doctest fails with iso-8859-15 locale

2011-01-05 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue10492] test_doctest fails with iso-8859-15 locale

2011-01-05 Thread STINNER Victor
STINNER Victor added the comment: bdb.patch doesn't work if cmd is not a string (if cmd is a code object). r87780 fixes this issue: bdb.Bdb.run() only traces the execution of the code, not the compilation (if the input is a string). With this fix, the whole test suite pass on Linux with ISO-8

[issue10492] test_doctest fails with iso-8859-15 locale

2011-01-05 Thread STINNER Victor
STINNER Victor added the comment: > set the trace function later. Eg. replace exec(cmd, ...) > by code=compile(cmd, ...) + exec(code) and set the trace function > after the call to compile. Implemented in the attached patch, bdb.patch: trace the execution of the code, not the compilation of t

[issue10492] test_doctest fails with iso-8859-15 locale

2010-12-10 Thread STINNER Victor
STINNER Victor added the comment: See a more complex solution: #3080 (don't decode the filename in the parser, keep unicode strings). -- ___ Python tracker ___

[issue10492] test_doctest fails with iso-8859-15 locale

2010-12-10 Thread STINNER Victor
STINNER Victor added the comment: You can reproduce the bug with: $ lang=fr_fr.iso885...@euro ./python -c 'import pdb; pdb.Pdb(nosigint=True).run("exec(%r)" % "x=12")' > /home/haypo/prog/SVN/py3k/Lib/encodings/iso8859_15.py(15)decode() -> return codecs.charmap_decode(input,errors,decoding_tabl

[issue10492] test_doctest fails with iso-8859-15 locale

2010-11-21 Thread Bruno Gola
Bruno Gola added the comment: tests are OK for me running on ubuntu 10.04 64bits and py3k from svn repository. -- nosy: +brunogola ___ Python tracker ___ __

[issue10492] test_doctest fails with iso-8859-15 locale

2010-11-21 Thread Antoine Pitrou
New submission from Antoine Pitrou : $ LANG=ISO-8859-15 ./python -m test.regrtest test_doctest [1/1] test_doctest ** File "/home/antoine/py3k/__svn__/Lib/test/test_doctest.py", line 1676, in test.test_doctest.test_debug Failed e