Searched refs:is_socket (Results 1 – 7 of 7) sorted by relevance
737 int is_socket; local763 is_socket = 0;795 is_socket = 1;805 wakeup.use_send = is_socket;
2303 self.assertFalse(P.is_socket())2310 self.assertFalse((P / 'fileA').is_socket())2311 self.assertFalse((P / 'dirA').is_socket())2312 self.assertFalse((P / 'non-existing').is_socket())2313 self.assertFalse((P / 'fileA' / 'bah').is_socket())2314 self.assertIs((P / 'fileA\udfff').is_socket(), False)2315 self.assertIs((P / 'fileA\x00').is_socket(), False)2328 self.assertTrue(P.is_socket())2331 self.assertIs(self.cls(BASE, 'mysock\udfff').is_socket(), False)2332 self.assertIs(self.cls(BASE, 'mysock\x00').is_socket(), False)[all …]
598 is_socket = stat.S_ISSOCK(mode)599 if not (is_char or is_fifo or is_socket):612 if is_socket or (is_fifo and not sys.platform.startswith("aix")):
1414 def is_socket(self): member in Path
691 :meth:`~Path.is_fifo()`, :meth:`~Path.is_socket()` now return ``False``863 .. method:: Path.is_socket()
1082 :meth:`~pathlib.Path.is_socket()` now return ``False`` instead of raising
4160 :meth:`~pathlib.Path.is_socket()` now return ``False`` instead of raising