Commit fb9ce65a authored by Alexandre Vassalotti's avatar Alexandre Vassalotti

Renamed SocketServer to 'socketserver'.

Deprecated old name.
parent ed02e51a
import sys
from warnings import warnpy3k
warnpy3k("the SocketServer module has been renamed "
"to 'socketserver' in Python 3.0", stacklevel=2)
import socketserver
sys.modules[__name__] = socketserver
......@@ -182,7 +182,8 @@ class TestStdlibRemovals(unittest.TestCase):
class TestStdlibRenames(unittest.TestCase):
renames = {'copy_reg': 'copyreg', 'Queue': 'queue'}
renames = {'copy_reg': 'copyreg', 'Queue': 'queue',
'SocketServer': 'socketserver'}
def check_rename(self, module_name, new_module_name):
"""Make sure that:
......
......@@ -26,6 +26,9 @@ Extension Modules
Library
-------
- The SocketServer module has been renamed 'socketserver'. The old
name is now deprecated.
- The imageop module has been deprecated for removal in Python 3.0.
- #2250: Exceptions raised during evaluation of names in rlcompleter's
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment