[Python-checkins] r60562 - peps/trunk/pep-3108.txt
brett.cannon
python-checkins at python.org
Mon Feb 4 00:11:38 CET 2008
Author: brett.cannon
Date: Mon Feb 4 00:11:38 2008
New Revision: 60562
Modified:
peps/trunk/pep-3108.txt
Log:
Add the http and xmlrpc packages.
Modified: peps/trunk/pep-3108.txt
==============================================================================
--- peps/trunk/pep-3108.txt (original)
+++ peps/trunk/pep-3108.txt Mon Feb 4 00:11:38 2008
@@ -371,14 +371,11 @@
_winreg winreg (rename also because module has a public
interface and thus should not have a leading
underscore)
-BaseHTTPServer base_http_server
Carbon carbon
-CGIHTTPServer cgi_http_server
ColorPicker colorpicker
ConfigParser configparser
Cookie cookie
copy_reg copyreg
-DocXMLRPCServer doc_xmlrpc_server
EasyDialogs easydialogs
HTMLParser htmlparser
MacOS macos
@@ -386,8 +383,6 @@
PixMapWrapper pixmap_wrapper
Queue queue
ScrolledText scrolledtext
-SimpleHTTPServer simple_http_server
-SimpleXMLRPCServer simple_xmlrpc_server
SocketServer socketserver
Tix tix
Tkinter tkinter
@@ -432,6 +427,7 @@
+ Added to the 'io' module as stringio.
+
No public, documented interface
-------------------------------
@@ -446,10 +442,11 @@
bdb _bdb
markupbase _markupbase [done]
opcode _opcode
-dummy_thread _dummy_thread (assuming thread
- is deprecated)
+dummy_thread _dummy_thread [#]_
============ ===============================
+.. [#] Assumes ``thread`` is renamed to ``_thread``.
+
Poorly chosen names
-------------------
@@ -493,6 +490,38 @@
API for both modules has no name conflict.
+http package
+////////////
+
+================= ===============================
+Current Name Replacement Name
+================= ===============================
+httplib http.tools
+BaseHTTPServer http.server [2]_
+CGIHTTPServer http.server [2]_
+SimpleHTTPServer http.server [2]_
+cookielib http.cookies
+================= ===============================
+
+.. [2] The ``http.server`` module can combine the specified modules
+ safely as they have no naming conflicts.
+
+
+xmlrpc package
+//////////////
+
+================== ===============================
+Current Name Replacement Name
+================== ===============================
+xmlrpclib xmlrpc.tools
+SimpleXMLRPCServer xmlrpc.server [3]_
+CGIXMLRPCServer xmlrpc.server [3]_
+================== ===============================
+
+.. [3] The modules being combined into ``xmlrpc.server`` have no
+ naming conflicts and thus can safely be merged.
+
+
Transition Plan
===============
More information about the Python-checkins
mailing list