Brian May <[email protected]> writes:

> Don't think we can complain at Python though, looks like a private
> symbol.

Looks like this is a work around for a bug that was in Python 2.5.
http://bugs.python.org/issue4607:

>From kombu code:

def uuid4():
    # Workaround for http://bugs.python.org/issue4607
    if ctypes and _uuid_generate_random:  # pragma: no cover
        buffer = ctypes.create_string_buffer(16)
        _uuid_generate_random(buffer)
        return UUID(bytes=buffer.raw)
    return _uuid4()
-- 
Brian May <[email protected]>

_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to