(self, host, port=POP3_PORT,
timeout=socket._GLOBAL_DEFAULT_TIMEOUT)
| 96 | encoding = 'UTF-8' |
| 97 | |
| 98 | def __init__(self, host, port=POP3_PORT, |
| 99 | timeout=socket._GLOBAL_DEFAULT_TIMEOUT): |
| 100 | self.host = host |
| 101 | self.port = port |
| 102 | self._tls_established = False |
| 103 | sys.audit("poplib.connect", self, host, port) |
| 104 | self.sock = self._create_socket(timeout) |
| 105 | self.file = self.sock.makefile('rb') |
| 106 | self._debugging = 0 |
| 107 | self.welcome = self._getresp() |
| 108 | |
| 109 | def _create_socket(self, timeout): |
| 110 | if timeout is not None and not timeout: |
no test coverage detected