Lines Matching defs:localhost
38 "localhost", "thishost", "ftperrors", "basejoin", "unwrap",
460 if url[:2] == '//' and url[2:3] != '/' and url[2:12].lower() != 'localhost/':
494 and socket.gethostbyname(host) in (localhost(), thishost()):
810 def localhost():
811 """Return the IP address of the magic hostname 'localhost'."""
814 _localhost = socket.gethostbyname('localhost')
1562 # '<local>' string by the localhost entry and the corresponding