Home
last modified time | relevance | path

Searched refs:SafeUUID (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_uuid.py323 for is_safe in self.uuid.SafeUUID:
436 is_safe=self.uuid.SafeUUID.safe)
438 is_safe=self.uuid.SafeUUID.unsafe)
484 self.assertIn(u.is_safe, {self.uuid.SafeUUID.safe,
485 self.uuid.SafeUUID.unsafe,
486 self.uuid.SafeUUID.unknown})
527 self.assertNotEqual(u.is_safe, self.uuid.SafeUUID.unknown)
550 self.assertEqual(u.is_safe, self.uuid.SafeUUID.unknown)
556 self.assertEqual(u.is_safe, self.uuid.SafeUUID.safe)
562 self.assertEqual(u.is_safe, self.uuid.SafeUUID.unsafe)
[all …]
/external/python/cpython3/Lib/
Duuid.py63 class SafeUUID(Enum): class
123 *, is_safe=SafeUUID.unknown):
209 if self.is_safe != SafeUUID.unknown:
220 SafeUUID(state['is_safe'])
221 if 'is_safe' in state else SafeUUID.unknown
724 is_safe = SafeUUID(safely_generated)
726 is_safe = SafeUUID.unknown
/external/python/cpython3/Doc/library/
Duuid.rst28 .. 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/
D3.7.0a1.rst3440 Add uuid.SafeUUID and uuid.UUID.is_safe to relay information from the