Home
last modified time | relevance | path

Searched refs:url2pathname (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Lib/test/
Dtest_urllib.py21 from nturl2path import url2pathname, pathname2url
1497 result = urllib.request.url2pathname(expected_url)
1512 result = urllib.request.url2pathname(result)
1524 result = urllib.request.url2pathname(given)
1553 result = urllib.request.url2pathname(url)
1559 result = urllib.request.url2pathname(given)
1649 self.assertEqual(url2pathname("///C|"), 'C:')
1650 self.assertEqual(url2pathname("///C:"), 'C:')
1651 self.assertEqual(url2pathname("///C|/"), 'C:\\')
1655 self.assertEqual(url2pathname("///C/test/"), r'\\\C\test' '\\')
[all …]
/third_party/python/Lib/
Dnturl2path.py8 def url2pathname(url): function
/third_party/python/Lib/urllib/
Drequest.py1503 localfile = url2pathname(filename)
1679 from nturl2path import url2pathname, pathname2url
1681 def url2pathname(pathname): function
1819 return url2pathname(_splithost(url1)[1]), hdrs
2013 localname = url2pathname(file)
/third_party/python/Doc/library/
Durllib.request.rst161 .. function:: url2pathname(path)
/third_party/python/Misc/
DHISTORY9777 - Issue #11474: Fix the bug with url2pathname() handling of '/C|/' on Windows.
32206 - Module urllib now has two new functions url2pathname and pathname2url