8000 Use of Python deprecated APIs. · Issue #17629 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
Use of Python deprecated APIs. #17629
Closed
@methane

Description

@methane

See here.

size = PyUnicode_GET_SIZE(textobj);
codepoints.resize(size);
Py_UNICODE *unistr = PyUnicode_AsUnicode(textobj);

PyUnicode_GET_SIZE, PyUnicode_AsUnicode, and Py_UNICODE are deprecated.
We are planning to remove them in Python 3.11.

Please replace them with PyUnicode_GET_LENGTH, PyUnicode_READ, and Py_UCS4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0