8000 Add support for Python 3.13 · Issue #13 · Rogdham/pyzstd · GitHub
[go: up one dir, main page]

Skip to content
Add support for Python 3.13 #13
@gotmax23

Description

@gotmax23

The package currently fails to build with Python 3.13 due to changes in the Python C API:

  src/bin_ext/macro_functions.h: In function ‘set_c_parameters’:
  src/bin_ext/macro_functions.h:17:27: error: implicit declaration of function ‘_PyLong_AsInt’; did you mean ‘PyLong_AsInt’? [-Wimplicit-function-declaration]
     17 |         const int level = _PyLong_AsInt(level_or_option);
        |                           ^~~~~~~~~~~~~
        |                           PyLong_AsInt

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

      0