open_toontown_panda3d/panda
Sam Edwards 856754a3de general: Don't abuse PyErr_Restore
The intended purpose of this function is to restore an exception
that has already been raised and saved with PyErr_Fetch. It should
not be used to raise new exceptions nor should it be used to clear
the current exception.

The especially egregious example is
`PyErr_Restore(exc_type, nullptr, nullptr);`
as the null value may not be handled correctly.
2019-11-05 18:44:20 -07:00
..
metalibs Remove old Carbon-based OS X graphics back-end 2019-01-09 18:27:57 -05:00
src general: Don't abuse PyErr_Restore 2019-11-05 18:44:20 -07:00