Home
last modified time | relevance | path

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

/third_party/python/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
/third_party/python/Lib/test/
Dtest_uuid.py329 for is_safe in self.uuid.SafeUUID:
442 is_safe=self.uuid.SafeUUID.safe)
444 is_safe=self.uuid.SafeUUID.unsafe)
489 self.assertIn(u.is_safe, {self.uuid.SafeUUID.safe,
490 self.uuid.SafeUUID.unsafe,
491 self.uuid.SafeUUID.unknown})
532 self.assertNotEqual(u.is_safe, self.uuid.SafeUUID.unknown)
555 self.assertEqual(u.is_safe, self.uuid.SafeUUID.unknown)
561 self.assertEqual(u.is_safe, self.uuid.SafeUUID.safe)
567 self.assertEqual(u.is_safe, self.uuid.SafeUUID.unsafe)
[all …]
/third_party/python/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
/third_party/python/Misc/NEWS.d/
D3.7.0a1.rst3435 Add uuid.SafeUUID and uuid.UUID.is_safe to relay information from the