Searched refs:is_safe (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Lib/ |
D | uuid.py | 140 *, is_safe=SafeUUID.unknown): argument 222 object.__setattr__(self, 'is_safe', is_safe) 226 if self.is_safe != SafeUUID.unknown: 229 d['is_safe'] = self.is_safe.value 677 is_safe = SafeUUID(safely_generated) 679 is_safe = SafeUUID.unknown 680 return UUID(bytes=uuid_time, is_safe=is_safe)
|
/external/python/cpython3/Lib/test/ |
D | test_uuid.py | 325 self.assertEqual(actual.is_safe, expected.is_safe) 328 for is_safe in self.uuid.SafeUUID: 330 is_safe=is_safe) 340 self.assertEqual(actual.is_safe, expected.is_safe) 441 is_safe=self.uuid.SafeUUID.safe) 443 is_safe=self.uuid.SafeUUID.unsafe) 488 self.assertIn(u.is_safe, {self.uuid.SafeUUID.safe, 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) [all …]
|
/external/python/cpython3/Doc/library/ |
D | uuid.rst | 25 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/ |
D | 3.7.rst | 1557 The new :attr:`UUID.is_safe <uuid.UUID.is_safe>` attribute relays information
|
/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
|