pdb is one of the most interactive module in stdlib. Now that we already put ANSI colors in traceback, we should do it in pdb as well.
pdb
We can start small, but I think eventually we want pdb colorized well.
This is a minor feature, which does not need previous discussion elsewhere
No response
gh-113081: Print colorized exception just like built-in traceback in …
pythongh-113081: Print colorized exception just like built-in traceba…
Looking through Hugo's dashboard: is this done?
I don't think so. This is a rather long term issue - the plan is to fully colorize it.
gh-113081: Highlight source code in pdb (#133355)
pythongh-113081: Highlight source code in pdb (python#133355)
After #145379 I think we are finally done with this issue. I'll close it.
Activity
gh-113081: Print colorized exception just like built-in traceback in …
pythongh-113081: Print colorized exception just like built-in traceba…
ZeroIntensity commentedon Jan 11, 2025
Looking through Hugo's dashboard: is this done?
gaogaotiantian commentedon Jan 13, 2025
I don't think so. This is a rather long term issue - the plan is to fully colorize it.
gh-113081: Highlight source code in pdb (#133355)
pythongh-113081: Highlight source code in pdb (python#133355)
gaogaotiantian commentedon Oct 20, 2026
After #145379 I think we are finally done with this issue. I'll close it.