Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 666568
Collapse All | Expand All

(-)a/Wrapping/PythonCore/vtkPythonArgs.cxx.ORIG (-1 / +1 lines)
Lines 102-108 Link Here
102
  else if (PyUnicode_Check(o))
102
  else if (PyUnicode_Check(o))
103
  {
103
  {
104
#if PY_VERSION_HEX >= 0x03030000
104
#if PY_VERSION_HEX >= 0x03030000
105
    a = PyUnicode_AsUTF8(o);
105
    a = const_cast<T *>(PyUnicode_AsUTF8(o));
106
    return true;
106
    return true;
107
#else
107
#else
108
    PyObject *s = _PyUnicode_AsDefaultEncodedString(o, nullptr);
108
    PyObject *s = _PyUnicode_AsDefaultEncodedString(o, nullptr);

Return to bug 666568