[issue39591] Functions in Python/traceback.c can take const pointer arguments

Andy Lester report at bugs.python.org
Sun Feb 9 00:44:35 EST 2020


New submission from Andy Lester <andy at petdance.com>:

The functions tb_displayline and tb_printinternal can take const pointers on some of their arguments.

tb_displayline(PyObject *f, PyObject *filename, int lineno, const PyObject *name)

tb_printinternal(const PyTracebackObject *tb, PyObject *f, long limit)

----------
components: Interpreter Core
messages: 361643
nosy: petdance
priority: normal
severity: normal
status: open
title: Functions in Python/traceback.c can take const pointer arguments
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39591>
_______________________________________


More information about the Python-bugs-list mailing list