Skip to content

bpo-39591: Functions in Python/traceback.c can take const pointer arguments#18422

Closed
petdance wants to merge 1 commit into
python:masterfrom
petdance:const-Python-traceback
Closed

bpo-39591: Functions in Python/traceback.c can take const pointer arguments#18422
petdance wants to merge 1 commit into
python:masterfrom
petdance:const-Python-traceback

Conversation

@petdance

@petdance petdance commented Feb 9, 2020

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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