Skip to content

Build broken on Python 3.10 #169

@i64

Description

@i64
/usr/local/include/python3.10/ceval.h:17:43: note: declared here
     Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    greenlet.c: In functiongreen_dealloc’:
    greenlet.c:1009:19: error: lvalue required as left operand of assignment
       Py_REFCNT(self) = 1;
                       ^
    greenlet.c:1038:7: error: lvalue required as decrement operand
       if (--Py_REFCNT(self) != 0) {
           ^~
    greenlet.c:1042:20: error: lvalue required as left operand of assignment
        Py_REFCNT(self) = refcnt;

python/cpython#20429

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions