This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xdegaye
Recipients barry, ned.deily, serhiy.storchaka, vstinner, xdegaye
Date 2017-12-02.15:44:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512229451.68.0.213398074469.issue32201@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-12-02 15:44:11xdegayesetrecipients: + xdegaye, barry, vstinner, ned.deily, serhiy.storchaka
2017-12-02 15:44:11xdegayesetmessageid: <1512229451.68.0.213398074469.issue32201@psf.upfronthosting.co.za>
2017-12-02 15:44:11xdegayelinkissue32201 messages
2017-12-02 15:44:11xdegayecreate