Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-128317: Move CLI calendar highlighting to private class #129625

Merged
merged 6 commits into from
Feb 8, 2025

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Feb 3, 2025

Following @encukou's suggestions in #128317 (comment).

I've added a NEWS file because #128318 went out in 3.14a4, so I think this warrants one?


📚 Documentation preview 📚: https://cpython-previews--129625.org.readthedocs.build/

Copy link
Member

@encukou encukou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for doing this!

I'm not sure what the next step should be -- perhaps the API should be improved to make this kind of customization easier; perhaps CLICalendar should be public. But, in plain text, avoiding terminal sequences is the right thing to do.

Co-authored-by: Petr Viktorin <[email protected]>
@hugovk
Copy link
Member Author

hugovk commented Feb 8, 2025

And thanks for the review!

Re: next steps, I'm not planning on further changes to the calendar right now, although if the week numbering idea progresses, we can consider things like that.

@hugovk hugovk enabled auto-merge (squash) February 8, 2025 14:55
@hugovk hugovk merged commit 1bccd6c into python:main Feb 8, 2025
39 checks passed
@hugovk hugovk deleted the 3.14-_CLIDemoCalendar2 branch February 8, 2025 15:56
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.

2 participants