Home
last modified time | relevance | path

Searched refs:is_safe (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_uuid.py320 self.assertEqual(actual.is_safe, expected.is_safe)
323 for is_safe in self.uuid.SafeUUID:
325 is_safe=is_safe)
335 self.assertEqual(actual.is_safe, expected.is_safe)
436 is_safe=self.uuid.SafeUUID.safe)
438 is_safe=self.uuid.SafeUUID.unsafe)
484 self.assertIn(u.is_safe, {self.uuid.SafeUUID.safe,
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)
[all …]
/external/python/cpython3/Lib/
Duuid.py123 *, is_safe=SafeUUID.unknown): argument
205 self.__dict__['is_safe'] = is_safe
209 if self.is_safe != SafeUUID.unknown:
213 state['is_safe'] = self.is_safe.value
724 is_safe = SafeUUID(safely_generated)
726 is_safe = SafeUUID.unknown
727 return UUID(bytes=uuid_time, is_safe=is_safe)
/external/python/cpython3/Doc/library/
Duuid.rst25 UUID. All instances of :class:`UUID` have an :attr:`is_safe` attribute
45 …=None, bytes=None, bytes_le=None, fields=None, int=None, version=None, *, is_safe=SafeUUID.unknown)
146 .. attribute:: UUID.is_safe
/external/python/cpython3/Doc/whatsnew/
D3.7.rst1541 The new :attr:`UUID.is_safe <uuid.UUID.is_safe>` attribute relays information
/external/python/cpython3/Misc/NEWS.d/
D3.7.0a1.rst3440 Add uuid.SafeUUID and uuid.UUID.is_safe to relay information from the