[Python-3000-checkins] r65788 - in python/branches/py3k: Lib/_dummy_thread.py Lib/filecmp.py Lib/shelve.py
brett.cannon
python-3000-checkins at python.org
Mon Aug 18 00:31:16 CEST 2008
Author: brett.cannon
Date: Mon Aug 18 00:31:15 2008
New Revision: 65788
Log:
Merged revisions 65787 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65787 | brett.cannon | 2008-08-17 15:10:11 -0700 (Sun, 17 Aug 2008) | 3 lines
Remove imports of 'warnings' that are no longer needed in dummy_thread,
filecmp, and shelve.
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Lib/_dummy_thread.py
python/branches/py3k/Lib/filecmp.py
python/branches/py3k/Lib/shelve.py
Modified: python/branches/py3k/Lib/_dummy_thread.py
==============================================================================
--- python/branches/py3k/Lib/_dummy_thread.py (original)
+++ python/branches/py3k/Lib/_dummy_thread.py Mon Aug 18 00:31:15 2008
@@ -17,7 +17,6 @@
'interrupt_main', 'LockType']
import traceback as _traceback
-import warnings
class error(Exception):
"""Dummy implementation of _thread.error."""
Modified: python/branches/py3k/Lib/filecmp.py
==============================================================================
--- python/branches/py3k/Lib/filecmp.py (original)
+++ python/branches/py3k/Lib/filecmp.py Mon Aug 18 00:31:15 2008
@@ -11,7 +11,6 @@
import os
import stat
-import warnings
from itertools import filterfalse
__all__ = ["cmp","dircmp","cmpfiles"]
Modified: python/branches/py3k/Lib/shelve.py
==============================================================================
--- python/branches/py3k/Lib/shelve.py (original)
+++ python/branches/py3k/Lib/shelve.py Mon Aug 18 00:31:15 2008
@@ -60,7 +60,6 @@
from io import BytesIO
import collections
-import warnings
__all__ = ["Shelf","BsdDbShelf","DbfilenameShelf","open"]
More information about the Python-3000-checkins
mailing list