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
Changes by Michael Ensslin :
--
type: -> enhancement
___
Python tracker
<http://bugs.python.org/issue24436>
___
___
Python-bugs-list mailing list
Unsubscrib
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
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
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
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