Issue #7027: regrtest.py keeps a reference to the encodings.ascii module as a

workaround to #7140 bug
This commit is contained in:
Victor Stinner 2010-04-27 18:25:39 +00:00
parent 94d6fba9e1
commit a7baa4bcff
2 changed files with 6 additions and 0 deletions

View File

@ -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:

View File

@ -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.