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 vstinner
Recipients mortenab, vstinner
Date 2008-12-09.10:31:59
SpamBayes Score 0.0036500585
Marked as misclassified No
Message-id <>
It looks like the bug is already fixed in Python trunk:

def uuid4():
    """Generate a random UUID."""

    # When the system provides a version-4 UUID generator, use it.
    if _uuid_generate_random:
        _buffer = ctypes.create_string_buffer(16)
        return UUID(bytes=_buffer.raw)

Changeset: r67318. The changeset was not related to this issue, but 
#4363 (Make uuid module functions usable without ctypes).
Date User Action Args
2008-12-09 10:32:01vstinnersetrecipients: + vstinner, mortenab
2008-12-09 10:32:01vstinnersetmessageid: <>
2008-12-09 10:32:00vstinnerlinkissue4607 messages
2008-12-09 10:31:59vstinnercreate