Skip to content

Slowly work on ultratb and debugger to use tokens and pygments.#14692

Merged
Carreau merged 1 commit intoipython:mainfrom
Carreau:colors
Feb 11, 2025
Merged

Slowly work on ultratb and debugger to use tokens and pygments.#14692
Carreau merged 1 commit intoipython:mainfrom
Carreau:colors

Conversation

@Carreau
Copy link
Copy Markdown
Member

@Carreau Carreau commented Jan 29, 2025

This should in the end make colors management much easier

@Carreau Carreau force-pushed the colors branch 2 times, most recently from aec50f0 to 177f291 Compare February 9, 2025 17:51
@Carreau
Copy link
Copy Markdown
Member Author

Carreau commented Feb 11, 2025

was at 5ac96ed, I'm going to rebase and squash

This massively rewrite the color and theme handling.

Instead of messing with colors internally, we try – as much as possible,
to yield pairs of (token types, values) and feed that to a pygments
formatter.

I'm going to assume this is going to break stuff, hence why I want it
early in the 9.0 release cycle.
@Carreau
Copy link
Copy Markdown
Member Author

Carreau commented Feb 11, 2025

Ok, let's try this.

@Carreau Carreau merged commit a0f8293 into ipython:main Feb 11, 2025
@Carreau Carreau added this to the 9.0 milestone Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant