]> SALOME platform Git repositories - tools/py2cpp.git/commit
Salome HOME
Deal with PyUnicode_AsUTF8 returning NULL.
authorOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Tue, 26 Feb 2019 09:23:11 +0000 (10:23 +0100)
committerOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Tue, 26 Feb 2019 09:23:11 +0000 (10:23 +0100)
commit65c17b8dea0c45bbcf3daf4463d2855d4d50ac5e
tree5efcaa057b74c1c8aa4bf03f52f86b4e2f368110
parent45484557d436da1254baa1b537225fd7a3437453
Deal with PyUnicode_AsUTF8 returning NULL.

According to https://docs.python.org/3/c-api/unicode.html#c.PyUnicode_AsUTF8
PyUnicode_AsUTF8String may return NULL in case of error.
src/CMakeLists.txt
src/Errors.cxx
src/PyPtr.cxx
src/TypeConversions.cxx