summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-12-05 04:55:14 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-12-05 04:55:14 (GMT)
commit4ebe364277b62785821003a8161a2081618b23a5 (patch)
tree0bf78ac97b947bdb06dd2aaee3e67cebb52fa0a2 /Lib
parent1bc82f891c2ed0c4b062158d2c8339fb90406395 (diff)
downloadcpython-4ebe364277b62785821003a8161a2081618b23a5.zip
cpython-4ebe364277b62785821003a8161a2081618b23a5.tar.gz
cpython-4ebe364277b62785821003a8161a2081618b23a5.tar.bz2
Remove the deprecated statcache module.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/lib-old/statcache.py (renamed from Lib/statcache.py)0
-rw-r--r--Lib/posixfile.py6
-rw-r--r--Lib/test/test___all__.py3
-rw-r--r--Lib/test/test_sundry.py3
4 files changed, 0 insertions, 12 deletions
diff --git a/Lib/statcache.py b/Lib/lib-old/statcache.py
index d478393..d478393 100644
--- a/Lib/statcache.py
+++ b/Lib/lib-old/statcache.py
diff --git a/Lib/posixfile.py b/Lib/posixfile.py
index 5a7ed06..ddfdb78 100644
--- a/Lib/posixfile.py
+++ b/Lib/posixfile.py
@@ -53,12 +53,6 @@ f.lock(mode [, len [, start [, whence]]])
query only
"""
-import warnings
-warnings.warn(
- "The posixfile module is obsolete and will disappear in the future",
- DeprecationWarning)
-del warnings
-
class _posixfile_:
"""File wrapper class that provides extra POSIX file routines."""
diff --git a/Lib/test/test___all__.py b/Lib/test/test___all__.py
index 3bddcad..683867a 100644
--- a/Lib/test/test___all__.py
+++ b/Lib/test/test___all__.py
@@ -9,8 +9,6 @@ warnings.filterwarnings("ignore", ".* 'pre' .*", DeprecationWarning,
r'pre$')
warnings.filterwarnings("ignore", ".* regsub .*", DeprecationWarning,
r'^regsub$')
-warnings.filterwarnings("ignore", ".* statcache .*", DeprecationWarning,
- r'statcache$')
class AllTest(unittest.TestCase):
@@ -148,7 +146,6 @@ class AllTest(unittest.TestCase):
self.check_all("socket")
self.check_all("sre")
self.check_all("_strptime")
- self.check_all("statcache")
self.check_all("symtable")
self.check_all("tabnanny")
self.check_all("tarfile")
diff --git a/Lib/test/test_sundry.py b/Lib/test/test_sundry.py
index 5112183..ef28700 100644
--- a/Lib/test/test_sundry.py
+++ b/Lib/test/test_sundry.py
@@ -3,8 +3,6 @@
import warnings
warnings.filterwarnings('ignore', r".*posixfile module",
DeprecationWarning, 'posixfile$')
-warnings.filterwarnings('ignore', r".*statcache module",
- DeprecationWarning, 'statcache$')
from test.test_support import verbose
@@ -80,7 +78,6 @@ import shlex
import shutil
import smtplib
import sndhdr
-import statcache
import statvfs
import stringold
import sunau