Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/
Duuid.py78 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/
Dtest_uuid.py328 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/
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.rst3435 Add uuid.SafeUUID and uuid.UUID.is_safe to relay information from the