Skip to content

Conversation

@petdance
Copy link
Contributor

@petdance petdance commented Feb 9, 2020

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)

https://bugs.python.org/issue39591

@tirkarthi
Copy link
Member

I guess the issue number in PR title should be 39591

@petdance petdance changed the title bpo-39491: Functions in Python/traceback.c can take const pointer arguments bpo-39591: Functions in Python/traceback.c can take const pointer arguments Feb 9, 2020
@petdance petdance closed this Feb 9, 2020
@petdance petdance deleted the const-Python-traceback branch February 9, 2020 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants