Searched refs:SafeUUID (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/ |
D | uuid.py | 78 class SafeUUID(Enum): class 140 *, is_safe=SafeUUID.unknown): 226 if self.is_safe != SafeUUID.unknown: 236 SafeUUID(state['is_safe']) 237 if 'is_safe' in state else SafeUUID.unknown) 677 is_safe = SafeUUID(safely_generated) 679 is_safe = SafeUUID.unknown
|
/external/python/cpython3/Lib/test/ |
D | test_uuid.py | 328 for is_safe in self.uuid.SafeUUID: 441 is_safe=self.uuid.SafeUUID.safe) 443 is_safe=self.uuid.SafeUUID.unsafe) 488 self.assertIn(u.is_safe, {self.uuid.SafeUUID.safe, 489 self.uuid.SafeUUID.unsafe, 490 self.uuid.SafeUUID.unknown}) 531 self.assertNotEqual(u.is_safe, self.uuid.SafeUUID.unknown) 554 self.assertEqual(u.is_safe, self.uuid.SafeUUID.unknown) 560 self.assertEqual(u.is_safe, self.uuid.SafeUUID.safe) 566 self.assertEqual(u.is_safe, self.uuid.SafeUUID.unsafe) [all …]
|
/external/python/cpython3/Doc/library/ |
D | uuid.rst | 28 .. class:: SafeUUID 32 .. attribute:: SafeUUID.safe 36 .. attribute:: SafeUUID.unsafe 40 .. attribute:: SafeUUID.unknown 45 …=None, bytes=None, bytes_le=None, fields=None, int=None, version=None, *, is_safe=SafeUUID.unknown) 148 An enumeration of :class:`SafeUUID` which indicates whether the platform
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0a1.rst | 3435 Add uuid.SafeUUID and uuid.UUID.is_safe to relay information from the
|