UUID module documentation inconsistent

Nov. 2, 2022
12:27 a.m.
The uuid module includes a namespace identifier for NAMESPACE_X500 which states that the name may be in DER format (a binary format), but the documentation for uuid.uuid3 and uuid.uuid5 both state that a name must be a string. Issue gh-94684 has a commit that fixes uuid3 and uuid5 to be compliant with RFC 4122 (i.e., to accept a bytes object), but it doesn't appear to have made it into the recent 3.11 release. Regardless, the documentation for NAMESPACE_X500, though apparently copied from the RFC, does not describe the current implementation.
843
Age (days ago)
843
Last active (days ago)
0 comments
1 participants
participants (1)
-
Charles Lehman