dln / python-libuuid

Faster UUID generation using libuuid
http://pypi.python.org/pypi/python-libuuid
Other
36 stars 10 forks source link

Make library work with python 3 #3

Open mattnibs opened 7 years ago

mattnibs commented 7 years ago

When installing for python 3 I get this error:

ImportError: /usr/local/lib/python3.5/dist-packages/libuuid/_uuid.cpython-35m-x86_64-linux-gnu.so: undefin
ed symbol: PyString_FromStringAndSize

This is because PyString_FromStringAndSize doesn't exist for python 3. Switch to using PyBytes_FromStringAndSize.

brandond commented 6 years ago

@dln are you still maintaining this? If not, would you mind handing it off?