From: Victor Stinner Date: Tue, 27 Apr 2010 18:25:39 +0000 (+0000) Subject: Issue #7027: regrtest.py keeps a reference to the encodings.ascii module as a X-Git-Tag: v2.6.6rc1~394 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a7baa4bcff5e7fa9cc176d5bbd916a93d1b2b469;p=thirdparty%2FPython%2Fcpython.git Issue #7027: regrtest.py keeps a reference to the encodings.ascii module as a workaround to #7140 bug --- diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index cb55b4768542..8ab9973cedb5 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -130,6 +130,9 @@ import sys import time import traceback import warnings +# keep a reference to the ascii module to workaround #7140 bug +# (see issue #7027) +import encodings.ascii # I see no other way to suppress these warnings; # putting them in test_grammar.py has no effect: diff --git a/Misc/NEWS b/Misc/NEWS index fdec90d75ce8..f24a188ee508 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -119,6 +119,9 @@ Build Tests ----- +- Issue #7027: regrtest.py keeps a reference to the encodings.ascii module as a + workaround to #7140 bug + - Issue #3864: Skip three test_signal tests on freebsd6 because they fail if any thread was previously started, most likely due to a platform bug.