Skip to content

Pybind11 doesn't compile with CPython 3.9b1 #2224

Closed
@bstaletic

Description

@bstaletic

CPython recently released version 3.9.0b1. As is the wonderful custom, it comes with breaking changes.

Is pybind affected by python 3.9 breaking changes?

Yes and yes

Useful links:

PyEval_InitThreads() is deprecated and now does exactly nothing.
PyThreadState_DeleteCurrent() is "removed", or rather renamed to _PyThreadState_DeleteCurrent(). This one was never documented and the reason for the rename is "why would anyone ever use this function?"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions