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:
parent
e4943ec988
commit
70b0fcd0e6
26
pep-3108.txt
26
pep-3108.txt
|
@ -371,6 +371,11 @@ for what the module is meant for.
|
|||
|
||||
+ 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 @@ tkSimpleDialog tk.simpledialog [5]_
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue