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.
This commit is contained in:
Brett Cannon 2008-03-05 21:59:50 +00:00
parent e4943ec988
commit 70b0fcd0e6
1 changed files with 24 additions and 2 deletions

View File

@ -372,6 +372,11 @@ for what the module is meant for.
+ Guido has previously supported the deprecation + Guido has previously supported the deprecation
[#thread-deprecation]_. [#thread-deprecation]_.
* urllib
+ Superceded by urllib2.
+ Functionality unique to urllib will be kept in the `url package`_.
* UserDict [done] * UserDict [done]
+ Not as useful since types can be a superclass. + Not as useful since types can be a superclass.
@ -576,13 +581,30 @@ tkSimpleDialog tk.simpledialog [5]_
turtle tk.turtle turtle tk.turtle
================== =============================== ================== ===============================
.. [4] ``tk.filedialog`` can safely combine ``FileDialog`` and ``tkFileDialog`` .. [4] ``tk.filedialog`` can safely combine ``FileDialog`` and
as there are no naming conflicts. ``tkFileDialog`` as there are no naming conflicts.
.. [5] ``tk.simpledialog`` can safely combine ``SimpleDialog`` and .. [5] ``tk.simpledialog`` can safely combine ``SimpleDialog`` and
``tkSimpleDialog`` have no naming conflicts. ``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 xmlrpc package
////////////// //////////////