Remove support for serialising STL types, remove STL interop

This commit is contained in:
baldurk
2019-12-06 13:23:30 +00:00
parent dc72949d02
commit 14d01ff995
22 changed files with 160 additions and 532 deletions
+10 -3
View File
@@ -1222,16 +1222,23 @@ extern "C" void HandleException(PyObject *global_handle)
else if(redirector && !redirector->context)
{
// if still NULL we're running in the extension context
std::string exString;
rdcstr exString;
if(!frames.isEmpty())
{
exString += "Traceback (most recent call last):\n";
for(const QString &f : frames)
exString += " " + f.toUtf8().toStdString() + "\n";
{
exString += " ";
exString += f;
exString += "\n";
}
}
exString += typeStr.toUtf8().toStdString() + ": " + valueStr.toUtf8().toStdString() + "\n";
exString += typeStr;
exString += ": ";
exString += valueStr;
exString += "\n";
_frame *frame = PyEval_GetFrame();