thriftrw / thriftrw-python

A Thrift encoding library for Python
MIT License
36 stars 10 forks source link

thriftrw fails to install for python3.7 #147

Closed albertyw closed 6 years ago

albertyw commented 6 years ago

Installing the current version of thriftrw on python3.7.0 will fail due to a clang error.

Python 3.7.0 (default, Jul 20 2018, 15:58:11)
[Clang 9.1.0 (clang-902.0.39.2)] on darwin

There are a series of these errors:

    thriftrw/protocol/binary.c:12830:13: error: no member named 'exc_type' in 'struct _ts'
        tstate->exc_type = local_type;
        ~~~~~~  ^
    thriftrw/protocol/binary.c:12831:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        tstate->exc_value = local_value;
                ^~~~~~~~~
                curexc_value

Seems like it's the same issue as https://github.com/yaml/pyyaml/issues/126