Message247521
Python 3.4.3 introduced an internal function, _PyTraceback_Add, which is quite useful when constructing Python exception objects.
I'm using it when constructing a Python Exception object from a C++ exception object, to add "fake traceback frames" that contain the line number / file name where the C++ exception has occurred.
The function is exported via Python.h, but unfortunately it seems undocumented, and must thus be considered unstable; I request to change that. |
|
Date |
User |
Action |
Args |
2015-07-28 12:02:35 | mic-e | set | recipients:
+ mic-e |
2015-07-28 12:02:34 | mic-e | set | messageid: <1438084954.97.0.508949242804.issue24743@psf.upfronthosting.co.za> |
2015-07-28 12:02:34 | mic-e | link | issue24743 messages |
2015-07-28 12:02:34 | mic-e | create | |
|