diff env/lib/python3.7/site-packages/future/moves/urllib/request.py @ 5:9b1c78e6ba9c draft default tip

"planemo upload commit 6c0a8142489327ece472c84e558c47da711a9142"
author shellac
date Mon, 01 Jun 2020 08:59:25 -0400
parents 79f47841a781
children
line wrap: on
line diff
--- a/env/lib/python3.7/site-packages/future/moves/urllib/request.py	Thu May 14 16:47:39 2020 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,94 +0,0 @@
-from __future__ import absolute_import
-
-from future.standard_library import suspend_hooks
-from future.utils import PY3
-
-if PY3:
-    from urllib.request import *
-    # This aren't in __all__:
-    from urllib.request import (getproxies,
-                                pathname2url,
-                                proxy_bypass,
-                                quote,
-                                request_host,
-                                thishost,
-                                unquote,
-                                url2pathname,
-                                urlcleanup,
-                                urljoin,
-                                urlopen,
-                                urlparse,
-                                urlretrieve,
-                                urlsplit,
-                                urlunparse)
-
-    from urllib.parse import (splitattr,
-                              splithost,
-                              splitpasswd,
-                              splitport,
-                              splitquery,
-                              splittag,
-                              splittype,
-                              splituser,
-                              splitvalue,
-                              to_bytes,
-                              unwrap)
-else:
-    __future_module__ = True
-    with suspend_hooks():
-        from urllib import *
-        from urllib2 import *
-        from urlparse import *
-
-        # Rename:
-        from urllib import toBytes    # missing from __all__ on Py2.6
-        to_bytes = toBytes
-
-        # from urllib import (pathname2url,
-        #                     url2pathname,
-        #                     getproxies,
-        #                     urlretrieve,
-        #                     urlcleanup,
-        #                     URLopener,
-        #                     FancyURLopener,
-        #                     proxy_bypass)
-
-        # from urllib2 import (
-        #                  AbstractBasicAuthHandler,
-        #                  AbstractDigestAuthHandler,
-        #                  BaseHandler,
-        #                  CacheFTPHandler,
-        #                  FileHandler,
-        #                  FTPHandler,
-        #                  HTTPBasicAuthHandler,
-        #                  HTTPCookieProcessor,
-        #                  HTTPDefaultErrorHandler,
-        #                  HTTPDigestAuthHandler,
-        #                  HTTPErrorProcessor,
-        #                  HTTPHandler,
-        #                  HTTPPasswordMgr,
-        #                  HTTPPasswordMgrWithDefaultRealm,
-        #                  HTTPRedirectHandler,
-        #                  HTTPSHandler,
-        #                  URLError,
-        #                  build_opener,
-        #                  install_opener,
-        #                  OpenerDirector,
-        #                  ProxyBasicAuthHandler,
-        #                  ProxyDigestAuthHandler,
-        #                  ProxyHandler,
-        #                  Request,
-        #                  UnknownHandler,
-        #                  urlopen,
-        #                 )
-
-        # from urlparse import (
-        #                  urldefrag
-        #                  urljoin,
-        #                  urlparse,
-        #                  urlunparse,
-        #                  urlsplit,
-        #                  urlunsplit,
-        #                  parse_qs,
-        #                  parse_q"
-        #                 )