Home
last modified time | relevance | path

Searched refs:ftpcache (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Lib/
Durllib.py103 ftpcache.clear()
119 ftpcache = {} variable
151 self.ftpcache = ftpcache
540 if len(self.ftpcache) > MAXFTPCACHE:
542 for k in self.ftpcache.keys():
544 v = self.ftpcache[k]
545 del self.ftpcache[k]
548 if not key in self.ftpcache:
549 self.ftpcache[key] = \
558 (fp, retrlen) = self.ftpcache[key].retrfile(file, type)
/external/python/cpython3/Lib/urllib/
Drequest.py1686 ftpcache = {} variable
1722 self.ftpcache = ftpcache
2062 if len(self.ftpcache) > MAXFTPCACHE:
2064 for k in list(self.ftpcache):
2066 v = self.ftpcache[k]
2067 del self.ftpcache[k]
2070 if key not in self.ftpcache:
2071 self.ftpcache[key] = \
2080 (fp, retrlen) = self.ftpcache[key].retrfile(file, type)
/external/python/cpython3/Lib/test/
Dtest_urllib.py559 … urllib.request.ftpcache['test'] = urllib.request.ftpwrapper('user', 'pass', 'localhost', 21, [])