[Python-checkins] r65791 - in python/trunk: Lib/io.py Misc/NEWS
brett.cannon
python-checkins at python.org
Mon Aug 18 02:36:53 CEST 2008
Author: brett.cannon
Date: Mon Aug 18 02:36:52 2008
New Revision: 65791
Log:
Remove two unneeded imports in 'io'.
Modified:
python/trunk/Lib/io.py
python/trunk/Misc/NEWS
Modified: python/trunk/Lib/io.py
==============================================================================
--- python/trunk/Lib/io.py (original)
+++ python/trunk/Lib/io.py Mon Aug 18 02:36:52 2008
@@ -59,10 +59,8 @@
import os
import abc
-import sys
import codecs
import _fileio
-import warnings
import threading
# open() uses st_blksize whenever we can
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Mon Aug 18 02:36:52 2008
@@ -48,6 +48,8 @@
Library
-------
+- Remove unneeded imports of 'sys' and 'warnings' from 'io'.
+
- Remove unneeded imports of 'warnings' from shelve, filecmp, and dummy_thread.
- Issue #3575: Incremental decoder's decode function now takes bytearray
More information about the Python-checkins
mailing list