Message307435
UUIDs are unique and persistent across time and space.
UUIDs generated using the getnode() function of the uuid module on a plaform where getnode() cannot use the MAC address are based on a random number created for that purpose and are therefore transient and only valid during the life time of the python process. This seems to be a bug.
My understanding of RFC 4122 is that in that case, the random number is generated only once, otherwise the usefulness of this method is not obvious. In any case the user should be made aware of the transientness of the result of getnode() since persistency is a key feature of UUIDs. |
|
Date |
User |
Action |
Args |
2017-12-02 15:44:11 | xdegaye | set | recipients:
+ xdegaye, barry, vstinner, ned.deily, serhiy.storchaka |
2017-12-02 15:44:11 | xdegaye | set | messageid: <1512229451.68.0.213398074469.issue32201@psf.upfronthosting.co.za> |
2017-12-02 15:44:11 | xdegaye | link | issue32201 messages |
2017-12-02 15:44:11 | xdegaye | create | |
|