Skip to content

'PyUnicode_FromUnicode' is deprecated #260

Description

@artemp
src/python_grid_utils.cpp:108:26: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations]
                         PyUnicode_FromUnicode(line.get(), array_size))));
                         ^
/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/cpython/unicodeobject.h:600:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
^
/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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