Searched refs:url2pathname (Results 1 – 5 of 5) sorted by relevance
21 from nturl2path import url2pathname, pathname2url1497 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 …]
8 def url2pathname(url): function
1503 localfile = url2pathname(filename)1679 from nturl2path import url2pathname, pathname2url1681 def url2pathname(pathname): function1819 return url2pathname(_splithost(url1)[1]), hdrs2013 localname = url2pathname(file)
161 .. function:: url2pathname(path)
9777 - Issue #11474: Fix the bug with url2pathname() handling of '/C|/' on Windows.32206 - Module urllib now has two new functions url2pathname and pathname2url