HomeSort by relevance Sort by last modified time
    Searched full:urllib (Results 1 - 25 of 121) sorted by null

1 2 3 4 5

  /external/chromium-trace/trace-viewer/third_party/six/
six.py 289 MovedModule("urllib_parse", __name__ + ".moves.urllib_parse", "urllib.parse"),
290 MovedModule("urllib_error", __name__ + ".moves.urllib_error", "urllib.error"),
291 MovedModule("urllib", __name__ + ".moves.urllib", __name__ + ".moves.urllib"),
292 MovedModule("urllib_robotparser", "robotparser", "urllib.robotparser"),
314 MovedAttribute("ParseResult", "urlparse", "urllib.parse"),
315 MovedAttribute("SplitResult", "urlparse", "urllib.parse"),
316 MovedAttribute("parse_qs", "urlparse", "urllib.parse"),
317 MovedAttribute("parse_qsl", "urlparse", "urllib.parse")
    [all...]
CHANGES 36 - Add `six.urllib.parse.uses_(fragment|netloc|params|query|relative)`.
50 - Issue #81: Add `six.urllib.request.splittag` mapping.
52 - Issue #80: Add `six.urllib.request.splituser` mapping.
109 - Pull request #29: Add move for urllib.parse.splitquery.
141 - Pull request #21: Add import mapping for urllib's proxy_bypass function.
156 - Issue #32: urllib module wrappings don't work when six is not a toplevel file.
186 - Pull request #5: Create six.moves.urllib, which contains abstractions for a
187 bunch of things which are in urllib in Python 3 and spread out across urllib,
test_six.py 130 assert item_name in dir(six.moves.urllib.parse)
131 getattr(six.moves.urllib.parse, item_name)
139 assert item_name in dir(six.moves.urllib.error)
140 getattr(six.moves.urllib.error, item_name)
148 assert item_name in dir(six.moves.urllib.request)
149 getattr(six.moves.urllib.request, item_name)
157 assert item_name in dir(six.moves.urllib.response)
158 getattr(six.moves.urllib.response, item_name)
166 assert item_name in dir(six.moves.urllib.robotparser)
167 getattr(six.moves.urllib.robotparser, item_name
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_urllib.py 1 """Regresssion tests for urllib"""
3 import urllib namespace
77 self.returned_obj = urllib.urlopen("file:%s" % self.pathname)
138 self.assertRaises(ValueError,urllib.urlopen,'./' + self.pathname)
157 proxies = urllib.getproxies_environment()
162 self.assertTrue(urllib.proxy_bypass_environment('anotherdomain.com'))
171 fp = urllib.urlopen("http://python.org/")
181 url = 'http://docs.python.org/library/urllib.html#OK'
184 fp = urllib.urlopen(url)
198 self.assertRaises(IOError, urllib.urlopen, "http://python.org/"
    [all...]
test_urllibnet.py 7 import urllib namespace
39 f = _open_with_retry(urllib.urlopen, "http://www.python.org/")
43 """Tests urllib.urlopen using the network.
58 return _open_with_retry(urllib.urlopen, *args)
108 open_url = urllib.FancyURLopener().open(URL)
149 # urllib.urlopen, "http://www.sadflkjsasadf.com/")
150 urllib.urlopen, "http://sadflkjsasf.i.nvali.d/")
153 """Tests urllib.urlretrieve using the network."""
156 return _open_with_retry(urllib.urlretrieve, *args)
207 ("urllib.urlopen.. has been removed", DeprecationWarning))
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_urllib.py 1 """Regresssion tests for urllib"""
3 import urllib namespace
77 self.returned_obj = urllib.urlopen("file:%s" % self.pathname)
138 self.assertRaises(ValueError,urllib.urlopen,'./' + self.pathname)
157 proxies = urllib.getproxies_environment()
162 self.assertTrue(urllib.proxy_bypass_environment('anotherdomain.com'))
171 fp = urllib.urlopen("http://python.org/")
181 url = 'http://docs.python.org/library/urllib.html#OK'
184 fp = urllib.urlopen(url)
198 self.assertRaises(IOError, urllib.urlopen, "http://python.org/"
    [all...]
test_urllibnet.py 7 import urllib namespace
39 f = _open_with_retry(urllib.urlopen, "http://www.python.org/")
43 """Tests urllib.urlopen using the network.
58 return _open_with_retry(urllib.urlopen, *args)
108 open_url = urllib.FancyURLopener().open(URL)
149 # urllib.urlopen, "http://www.sadflkjsasadf.com/")
150 urllib.urlopen, "http://sadflkjsasf.i.nvali.d/")
153 """Tests urllib.urlretrieve using the network."""
156 return _open_with_retry(urllib.urlretrieve, *args)
207 ("urllib.urlopen.. has been removed", DeprecationWarning))
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
nturl2path.py 10 import string, urllib namespace
22 return urllib.unquote('\\'.join(components))
32 path = path + '\\' + urllib.unquote(comp)
45 import urllib namespace
54 return urllib.quote('/'.join(components))
60 drive = urllib.quote(comp[0].upper())
65 path = path + '/' + urllib.quote(comp)
macurl2path.py 3 Do not import directly; use urllib instead."""
5 import urllib namespace
16 tp = urllib.splittype(pathname)[0]
50 return urllib.unquote(rv)
76 component = urllib.quote(component[:31], safe='') # We want to quote slashes
robotparser.py 13 import urllib namespace
109 line[1] = urllib.unquote(line[1].strip())
136 parsed_url = urlparse.urlparse(urllib.unquote(url))
139 url = urllib.quote(url)
163 self.path = urllib.quote(path)
209 class URLopener(urllib.FancyURLopener):
211 urllib.FancyURLopener.__init__(self, *args)
221 return urllib.FancyURLopener.http_error_default(self, url, fp, errcode,
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
nturl2path.py 10 import string, urllib namespace
22 return urllib.unquote('\\'.join(components))
32 path = path + '\\' + urllib.unquote(comp)
45 import urllib namespace
54 return urllib.quote('/'.join(components))
60 drive = urllib.quote(comp[0].upper())
65 path = path + '/' + urllib.quote(comp)
macurl2path.py 3 Do not import directly; use urllib instead."""
5 import urllib namespace
16 tp = urllib.splittype(pathname)[0]
50 return urllib.unquote(rv)
76 component = urllib.quote(component[:31], safe='') # We want to quote slashes
robotparser.py 13 import urllib namespace
109 line[1] = urllib.unquote(line[1].strip())
136 parsed_url = urlparse.urlparse(urllib.unquote(url))
139 url = urllib.quote(url)
163 self.path = urllib.quote(path)
209 class URLopener(urllib.FancyURLopener):
211 urllib.FancyURLopener.__init__(self, *args)
221 return urllib.FancyURLopener.http_error_default(self, url, fp, errcode,
  /external/chromium-trace/trace-viewer/third_party/WebOb/webob/
compat.py 51 from urllib import parse
53 from urllib.parse import quote as url_quote
54 from urllib.parse import urlencode as url_encode, quote_plus
55 from urllib.request import urlopen as url_open
58 from urllib import quote_plus
59 from urllib import quote as url_quote
60 from urllib import unquote as url_unquote
61 from urllib import urlencode as url_encode
151 query = cgi.urllib.parse.parse_qsl(
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_urllib.py 1 """Fix changes imports of urllib which are now incompatible.
3 complex nature of the fixing for urllib, it has its own fixer.
13 MAPPING = {"urllib": [
14 ("urllib.request",
18 ("urllib.parse",
23 ("urllib.error",
26 ("urllib.request",
40 ("urllib.error",
46 MAPPING["urllib2"].append(MAPPING["urllib"][1])
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_urllib.py 1 """Fix changes imports of urllib which are now incompatible.
3 complex nature of the fixing for urllib, it has its own fixer.
13 MAPPING = {"urllib": [
14 ("urllib.request",
18 ("urllib.parse",
23 ("urllib.error",
26 ("urllib.request",
40 ("urllib.error",
46 MAPPING["urllib2"].append(MAPPING["urllib"][1])
  /external/clang/tools/clang-format/
clang-format-bbedit.applescript 8 return do shell script "python -c \"import urllib, urlparse, sys; print urllib.unquote(urlparse.urlparse(sys.argv[1])[2])\" " & quoted form of theURL
  /external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/
json.py 14 import urllib namespace
96 """Serializes a value to JSON and encodes it using urllib.quote.
100 return urllib.quote(encode(value, *args, **kwargs))
104 """Decodes a value using urllib.unquote and deserializes it from JSON.
108 return decode(urllib.unquote(value), *args, **kwargs)
  /external/chromium-trace/trace-viewer/third_party/Paste/tests/test_auth/
test_auth_digest.py 63 from six.moves.urllib.error import HTTPError
64 from six.moves.urllib.request import build_opener, HTTPDigestAuthHandler
83 # urllib tries 5 more times before it gives up
  /external/clang/tools/scan-view/
scan-view 10 import urllib namespace
27 o = urllib.urlopen(url)
34 import urllib, webbrowser namespace
  /prebuilts/misc/darwin-x86/analyzer/tools/scan-view/
scan-view 10 import urllib namespace
27 o = urllib.urlopen(url)
34 import urllib, webbrowser namespace
  /prebuilts/misc/linux-x86/analyzer/tools/scan-view/
scan-view 10 import urllib namespace
27 o = urllib.urlopen(url)
34 import urllib, webbrowser namespace
  /external/boringssl/src/util/bot/
update_clang.py 20 import urllib namespace
42 urllib.urlretrieve(url, path, reporthook=report)
  /external/wpa_supplicant_8/wpa_supplicant/examples/
wpas-test.py 16 import urllib namespace
22 r += urllib.quote(chr(c))
  /external/chromium-trace/trace-viewer/third_party/six/documentation/
index.rst 514 The :mod:`py2:urllib`, :mod:`py2:urllib2`, and :mod:`py2:urlparse` modules have
515 been combined in the :mod:`py3:urllib` package in Python 3. The
516 :mod:`six.moves.urllib` package is a version-independent location for this
518 :mod:`py3:urllib` package.
641 | ``urllib.parse`` | See :mod:`six.moves.urllib.parse` | :mod:`py3:urllib.parse` |
643 | ``urllib.error`` | See :mod:`six.moves.urllib.error` | :mod:`py3:urllib.error`
    [all...]

Completed in 394 milliseconds

1 2 3 4 5