Mercurial > repos > shellac > guppy_basecaller
comparison env/lib/python3.7/site-packages/future/moves/urllib/request.py @ 0:26e78fe6e8c4 draft
"planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
author | shellac |
---|---|
date | Sat, 02 May 2020 07:14:21 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:26e78fe6e8c4 |
---|---|
1 from __future__ import absolute_import | |
2 | |
3 from future.standard_library import suspend_hooks | |
4 from future.utils import PY3 | |
5 | |
6 if PY3: | |
7 from urllib.request import * | |
8 # This aren't in __all__: | |
9 from urllib.request import (getproxies, | |
10 pathname2url, | |
11 proxy_bypass, | |
12 quote, | |
13 request_host, | |
14 thishost, | |
15 unquote, | |
16 url2pathname, | |
17 urlcleanup, | |
18 urljoin, | |
19 urlopen, | |
20 urlparse, | |
21 urlretrieve, | |
22 urlsplit, | |
23 urlunparse) | |
24 | |
25 from urllib.parse import (splitattr, | |
26 splithost, | |
27 splitpasswd, | |
28 splitport, | |
29 splitquery, | |
30 splittag, | |
31 splittype, | |
32 splituser, | |
33 splitvalue, | |
34 to_bytes, | |
35 unwrap) | |
36 else: | |
37 __future_module__ = True | |
38 with suspend_hooks(): | |
39 from urllib import * | |
40 from urllib2 import * | |
41 from urlparse import * | |
42 | |
43 # Rename: | |
44 from urllib import toBytes # missing from __all__ on Py2.6 | |
45 to_bytes = toBytes | |
46 | |
47 # from urllib import (pathname2url, | |
48 # url2pathname, | |
49 # getproxies, | |
50 # urlretrieve, | |
51 # urlcleanup, | |
52 # URLopener, | |
53 # FancyURLopener, | |
54 # proxy_bypass) | |
55 | |
56 # from urllib2 import ( | |
57 # AbstractBasicAuthHandler, | |
58 # AbstractDigestAuthHandler, | |
59 # BaseHandler, | |
60 # CacheFTPHandler, | |
61 # FileHandler, | |
62 # FTPHandler, | |
63 # HTTPBasicAuthHandler, | |
64 # HTTPCookieProcessor, | |
65 # HTTPDefaultErrorHandler, | |
66 # HTTPDigestAuthHandler, | |
67 # HTTPErrorProcessor, | |
68 # HTTPHandler, | |
69 # HTTPPasswordMgr, | |
70 # HTTPPasswordMgrWithDefaultRealm, | |
71 # HTTPRedirectHandler, | |
72 # HTTPSHandler, | |
73 # URLError, | |
74 # build_opener, | |
75 # install_opener, | |
76 # OpenerDirector, | |
77 # ProxyBasicAuthHandler, | |
78 # ProxyDigestAuthHandler, | |
79 # ProxyHandler, | |
80 # Request, | |
81 # UnknownHandler, | |
82 # urlopen, | |
83 # ) | |
84 | |
85 # from urlparse import ( | |
86 # urldefrag | |
87 # urljoin, | |
88 # urlparse, | |
89 # urlunparse, | |
90 # urlsplit, | |
91 # urlunsplit, | |
92 # parse_qs, | |
93 # parse_q" | |
94 # ) |