[issue7027] test_io.py: codecs.IncrementalDecoder is sometimes None

2010-04-27 Thread STINNER Victor
STINNER Victor added the comment: test_io and test_codecs didn't fail in the last build of x86 Tiger 2.6 and x86 Windows7 2.6. I suppose that the issue is now closed. Repopen the issue if it's not the case. -- resolution: -> fixed status: open -> closed _

[issue7027] test_io.py: codecs.IncrementalDecoder is sometimes None

2010-04-27 Thread STINNER Victor
STINNER Victor added the comment: > Can we backport the fix to 2.6? It's too late to fix such subtle bug in module machinery, so I commited my workaround in regrtest.py: r80538. Wait for the buildbots before closing the issue. test_io and/or test_codecs failed on buildbots: - AMD64 Ubuntu 2

[issue7027] test_io.py: codecs.IncrementalDecoder is sometimes None

2010-04-27 Thread STINNER Victor
STINNER Victor added the comment: Here is a workaround. I didn't expected a short patch, but it's enough. -- keywords: +patch Added file: http://bugs.python.org/file17108/regrtest_preload_ascii.patch ___ Python tracker

[issue7027] test_io.py: codecs.IncrementalDecoder is sometimes None

2010-04-27 Thread STINNER Victor
STINNER Victor added the comment: module-dealloc() was changed by #7140 by r75437: "imp.new_module does not function correctly if the module is returned from a function and used directly". Can we backport the fix to 2.6? It would be complex to write a workaround in the tests. -- ___

[issue7027] test_io.py: codecs.IncrementalDecoder is sometimes None

2010-04-27 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +amaury.forgeotdarc, loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7027] test_io.py: codecs.IncrementalDecoder is sometimes None

2010-04-27 Thread STINNER Victor
STINNER Victor added the comment: This issue is specific to Python 2.6. It can be reproduced with: ./python -E -tt ./Lib/test/regrtest.py -l -w test_pep263 test_operator test_asynchat test_zipimport_support test_pydoc test_code test_dis test_quopri test_doctest test_class test_sax test_fileio

[issue7027] test_io.py: codecs.IncrementalDecoder is sometimes None

2010-04-27 Thread STINNER Victor
STINNER Victor added the comment: Same error here: http://www.python.org/dev/buildbot/builders/AMD64 Ubuntu 2.6/builds/555/steps/test/logs/stdio (codecs_none.txt is a copy of stdio) -- nosy: +haypo Added file: http://bugs.python.org/file17105/codecs_none.txt _

[issue7027] test_io.py: codecs.IncrementalDecoder is sometimes None

2009-10-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is something that sometimes happens when running the test suite due to module initialization or finalization oddities (I don't understand the precise reasons myself). It isn't specific to test_io, I think. -- versions: +Python 2.7, Python 3.1, Pyth

[issue7027] test_io.py: codecs.IncrementalDecoder is sometimes None

2009-09-30 Thread R. David Murray
Changes by R. David Murray : -- nosy: +benjamin.peterson, pitrou priority: -> normal stage: -> needs patch type: -> behavior ___ Python tracker ___

[issue7027] test_io.py: codecs.IncrementalDecoder is sometimes None

2009-09-30 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : This test failure occurs on Windows XP (x86) with 2.6.3.rc1 == ERROR: Test seek/tell using the StatefulIncrementalDecoder.