[issue24743] Make _PyTraceback_Add public

2015-07-28 Thread Michael Ensslin
New submission from Michael Ensslin: 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 fr

[issue24436] _PyTraceback_Add has no const qualifier for its char * arguments

2015-06-11 Thread Michael Ensslin
Changes by Michael Ensslin : -- type: -> enhancement ___ Python tracker <http://bugs.python.org/issue24436> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue24436] _PyTraceback_Add has no const qualifier for its char * arguments

2015-06-11 Thread Michael Ensslin
New submission from Michael Ensslin: The prototype for the public API function _PyTraceback_Add is declared _PyTraceback_Add(char *, char *, int); Internally, its char * arguments are passed verbatim to PyCode_NewEmpty, which takes const char * arguments. The missing 'const' qua

[issue24141] Python 3 ships an outdated valgrind suppressison file.

2015-05-07 Thread Michael Ensslin
Michael Ensslin added the comment: Note: Additionally replacing PyObject_Free -> _PyObject_Free and PyObject_Realloc -> _PyObject_Realloc appears to fix the issue. -- ___ Python tracker <http://bugs.python.org/i

[issue24141] Python 3 ships an outdated valgrind suppressison file.

2015-05-07 Thread Michael Ensslin
Changes by Michael Ensslin : -- title: Python 3 ships an outdated valgrind suppresison file. -> Python 3 ships an outdated valgrind suppressison file. ___ Python tracker <http://bugs.python.org/issu

[issue24141] Python 3 ships an outdated valgrind suppresison file.

2015-05-07 Thread Michael Ensslin
New submission from Michael Ensslin: The suppression file that is shipped in Misc/valgrind-python.supp of the CPython 3(.x) source tarball only works with CPython 2. This was tested on Debian Sid, with Python 3.4.3 and Python 2.7.9, both presumably not compiled with "--valgrind&quo