[Python-checkins] r61258 - peps/trunk/pep-3108.txt

brett.cannon python-checkins at python.org
Wed Mar 5 22:59:50 CET 2008


Author: brett.cannon
Date: Wed Mar 5 22:59:50 2008
New Revision: 61258
Modified:
 peps/trunk/pep-3108.txt
Log:
Add the 'url' package. Do note that the functionality from urllib will only be
merged into the pacakge if the documentation is properly updated. Otherwise the
module can be made available as an external module for those who wish to
continue to use it.
Modified: peps/trunk/pep-3108.txt
==============================================================================
--- peps/trunk/pep-3108.txt	(original)
+++ peps/trunk/pep-3108.txt	Wed Mar 5 22:59:50 2008
@@ -371,6 +371,11 @@
 
 + Guido has previously supported the deprecation
 [#thread-deprecation]_.
+ 
+* urllib
+
+ + Superceded by urllib2.
+ + Functionality unique to urllib will be kept in the `url package`_.
 
 * UserDict [done]
 
@@ -576,11 +581,28 @@
 turtle tk.turtle
 ================== ===============================
 
-.. [4] ``tk.filedialog`` can safely combine ``FileDialog`` and ``tkFileDialog``
- as there are no naming conflicts.
+.. [4] ``tk.filedialog`` can safely combine ``FileDialog`` and
+ ``tkFileDialog`` as there are no naming conflicts.
 
 .. [5] ``tk.simpledialog`` can safely combine ``SimpleDialog`` and
 ``tkSimpleDialog`` have no naming conflicts.
+ 
+ 
+url package
+///////////
+
+================== ===============================
+Current Name Replacement Name
+================== ===============================
+urllib2 url.request
+urlparse url.parse
+urllib url.parse, url.request [6]_
+================== ===============================
+
+.. [6] The quoting-related functions from ``urllib`` will be added
+ to ``url.parse``. ``urllib.URLOpener`` and ``FancyUrlOpener``
+ will be added to ``url.request`` as long as the documentation
+ for both modules is updated.
 
 
 xmlrpc package


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /