Skip to content

Use gcc on Linux, VS on Windows and CLang in other cases for geninterop #510

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 15 commits into from
Closed
Prev Previous commit
Next Next commit
restore
  • Loading branch information
testrunner123 authored Sep 18, 2017
commit a0172555aeba87fc49e40e2b987874d940d06fae
2 changes: 1 addition & 1 deletion src/runtime/exceptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public static void SetError(Exception e)
var pe = e as PythonException;
if (pe != null)
{
Runtime.PyErr_Restore(pe.PyType, pe.PyValue, pe.PyTB);
Runtime.PyErr_SetObject(pe.PyType, pe.PyValue);
return;
}

Expand Down