Skip to content

_PyUnicode_AsString is deprecated in python3.14 #512

@e-kwsm

Description

@e-kwsm

return PyUnicode_Check(obj) ? const_cast<void*>(reinterpret_cast<const void*>(_PyUnicode_AsString(obj))) : 0;

https://docs.python.org/3.14/deprecations/index.html#id2

_PyUnicode_AsString(): use PyUnicode_AsUTF8().

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