mirror of
https://github.com/python/cpython.git
synced 2025-11-20 02:50:14 +00:00
Merge trunk up to 43069, putting re.py back and hopefully making the branch
usable again.
This commit is contained in:
parent
725ccd1810
commit
9ada3d6e29
5 changed files with 7 additions and 6 deletions
|
|
@ -110,7 +110,7 @@ import sys
|
|||
import getopt
|
||||
import random
|
||||
import warnings
|
||||
import sre
|
||||
import re
|
||||
import cStringIO
|
||||
import traceback
|
||||
|
||||
|
|
@ -525,7 +525,7 @@ def runtest(test, generate, verbose, quiet, testdir=None, huntrleaks=False):
|
|||
_path_created.clear()
|
||||
warnings.filters[:] = fs
|
||||
gc.collect()
|
||||
sre.purge()
|
||||
re.purge()
|
||||
_strptime._regex_cache.clear()
|
||||
urlparse.clear_cache()
|
||||
urllib.urlcleanup()
|
||||
|
|
|
|||
|
|
@ -145,7 +145,6 @@ class AllTest(unittest.TestCase):
|
|||
self.check_all("smtplib")
|
||||
self.check_all("sndhdr")
|
||||
self.check_all("socket")
|
||||
self.check_all("sre")
|
||||
self.check_all("_strptime")
|
||||
self.check_all("symtable")
|
||||
self.check_all("tabnanny")
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ sys.path = ['.'] + sys.path
|
|||
|
||||
from test.test_support import verbose, run_unittest
|
||||
import re
|
||||
from sre import Scanner
|
||||
from re import Scanner
|
||||
import sys, os, traceback
|
||||
from weakref import proxy
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue