/external/python/cpython2/Lib/test/ |
D | test_macurl2path.py | 6 self.assertEqual(":index.html", macurl2path.url2pathname("index.html")) 7 self.assertEqual(":bar:index.html", macurl2path.url2pathname("bar/index.html")) 8 self.assertEqual("foo:bar:index.html", macurl2path.url2pathname("/foo/bar/index.html")) 9 self.assertEqual("foo:bar", macurl2path.url2pathname("/foo/bar/")) 10 self.assertEqual("", macurl2path.url2pathname("/")) 11 self.assertRaises(RuntimeError, macurl2path.url2pathname, "http://foo.com") 12 self.assertEqual("index.html", macurl2path.url2pathname("///index.html")) 13 self.assertRaises(RuntimeError, macurl2path.url2pathname, "//index.html") 14 self.assertEqual(":index.html", macurl2path.url2pathname("./index.html")) 15 self.assertEqual(":index.html", macurl2path.url2pathname("foo/../index.html")) [all …]
|
D | test_urllib.py | 812 result = urllib.url2pathname(expected_url) 827 result = urllib.url2pathname(result) 839 result = urllib.url2pathname(given) 850 result = urllib.url2pathname(url) 856 result = urllib.url2pathname(given)
|
/external/python/cpython2/Lib/plat-riscos/ |
D | rourl2path.py | 12 def url2pathname(url): function 62 print '%r -> %r' % (url, url2pathname(url))
|
/external/python/cpython3/Lib/test/ |
D | test_urllib.py | 19 from nturl2path import url2pathname, pathname2url 1495 result = urllib.request.url2pathname(expected_url) 1510 result = urllib.request.url2pathname(result) 1522 result = urllib.request.url2pathname(given) 1533 result = urllib.request.url2pathname(url) 1539 result = urllib.request.url2pathname(given) 1629 self.assertEqual(url2pathname("///C|"), 'C:') 1630 self.assertEqual(url2pathname("///C:"), 'C:') 1631 self.assertEqual(url2pathname("///C|/"), 'C:\\') 1635 self.assertEqual(url2pathname("///C/test/"), r'\\\C\test' '\\') [all …]
|
/external/python/cpython2/Lib/ |
D | nturl2path.py | 3 def url2pathname(url): function
|
D | macurl2path.py | 10 def url2pathname(pathname): function
|
D | urllib.py | 49 from nturl2path import url2pathname, pathname2url 51 from rourl2path import url2pathname, pathname2url 53 def url2pathname(pathname): function 242 return url2pathname(splithost(url1)[1]), hdrs 479 localname = url2pathname(file)
|
D | urllib2.py | 125 from urllib import localhost, url2pathname, getproxies, proxy_bypass 1356 localfile = url2pathname(filename)
|
/external/python/cpython3/Lib/ |
D | nturl2path.py | 8 def url2pathname(url): function
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 1497 localfile = url2pathname(filename) 1673 from nturl2path import url2pathname, pathname2url 1675 def url2pathname(pathname): function 1813 return url2pathname(_splithost(url1)[1]), hdrs 2007 localname = url2pathname(file)
|
/external/python/setuptools/setuptools/ |
D | package_index.py | 819 return urllib.request.url2pathname(urllib.parse.urlparse(url)[2]) 1094 filename = urllib.request.url2pathname(path)
|
/external/python/cpython2/Tools/webchecker/ |
D | webchecker.py | 753 path = urllib.url2pathname(urllib.unquote(url))
|
/external/python/cpython2/Lib/plat-mac/ |
D | pimp.py | 676 path = urllib.url2pathname(path)
|
/external/python/cpython2/Doc/library/ |
D | urllib.rst | 286 .. function:: url2pathname(path)
|
/external/python/six/documentation/ |
D | index.rst | 759 * :func:`py2:urllib.url2pathname`
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.2rc1.rst | 493 Fix the bug with url2pathname() handling of '/C|/' on Windows. Patch by
|
/external/python/cpython3/Doc/library/ |
D | urllib.request.rst | 156 .. function:: url2pathname(path)
|
/external/python/cpython3/Misc/ |
D | HISTORY | 9777 - Issue #11474: Fix the bug with url2pathname() handling of '/C|/' on Windows. 32206 - Module urllib now has two new functions url2pathname and pathname2url
|
/external/python/cpython2/Misc/ |
D | HISTORY | 14827 - Module urllib now has two new functions url2pathname and pathname2url
|