Skip to content

Make library work with python 3 #3

@mattnibs

Description

@mattnibs

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions