Title: Highlight today in colour in calendar's CLI output · Issue #128317 · python/cpython · GitHub
Open Graph Title: Highlight today in colour in calendar's CLI output · Issue #128317 · python/cpython
X Title: Highlight today in colour in calendar's CLI output · Issue #128317 · python/cpython
Description: Feature or enhancement In Python 3.13 we added colour output to the new REPL, tracebacks and doctest, and in 3.14 to unittest and test.regrtest, which can also be controlled with the PYTHON_COLORS, NO_COLOR and FORCE_COLOR environment va...
Open Graph Description: Feature or enhancement In Python 3.13 we added colour output to the new REPL, tracebacks and doctest, and in 3.14 to unittest and test.regrtest, which can also be controlled with the PYTHON_COLORS,...
X Description: Feature or enhancement In Python 3.13 we added colour output to the new REPL, tracebacks and doctest, and in 3.14 to unittest and test.regrtest, which can also be controlled with the PYTHON_COLORS,...
Opengraph URL: https://github.com/python/cpython/issues/128317
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Highlight today in colour in calendar's CLI output","articleBody":"# Feature or enhancement\n\nIn Python 3.13 we added colour output to the new REPL, tracebacks and doctest, and in 3.14 to unittest and `test.regrtest`, which can also be controlled with the `PYTHON_COLORS`, `NO_COLOR` and `FORCE_COLOR` environment variables:\n\n* https://docs.python.org/3.14/whatsnew/3.14.html#unittest\n* https://docs.python.org/3.14/using/cmdline.html#using-on-controlling-color\n\nOn macOS, the `cal` utility does something similar, but highlights today.\n\nThe calendar module has a CLI to print out a calendar to the terminal, but with no highlighting. Let's add it.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-128318\n* gh-128353\n* gh-128357\n* gh-128358\n* gh-129625\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/hugovk","@type":"Person","name":"hugovk"},"datePublished":"2024-12-28T22:32:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/128317/cpython/issues/128317"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e06c0718-4ac9-8b9c-bc2d-c1e6f23f2d76 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DF0E:28B50A:AD53AF1:B0AC22A:6A50B32B |
| html-safe-nonce | 8fa7a9663150c3be4eb3a67d80c09a1dc5f1ddbe0b3e7615463ebb5ab9cbe1ba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjBFOjI4QjUwQTpBRDUzQUYxOkIwQUMyMkE6NkE1MEIzMkIiLCJ2aXNpdG9yX2lkIjoiMTA5MzMzMTg1ODgxNTQ5NzAwMyIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9 |
| visitor-hmac | b6d0fd87025ea7a2ab7ed32fd4e5b2b7580617c5141f2233d855e53a760d17d7 |
| hovercard-subject-tag | issue:2762004198 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/128317/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8450703a14689f303ad68b9be7999f0043f84c76c81c985d4978ba4915eb0263/python/cpython/issues/128317 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8450703a14689f303ad68b9be7999f0043f84c76c81c985d4978ba4915eb0263/python/cpython/issues/128317 |
| og:image:alt | Feature or enhancement In Python 3.13 we added colour output to the new REPL, tracebacks and doctest, and in 3.14 to unittest and test.regrtest, which can also be controlled with the PYTHON_COLORS,... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hugovk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 63772747707af4093f0d5fc7aa1bb3bb55f412a9865207c4f421aa34c64cc404 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ded53fe94e3ff1bb4dbf8cc77e285396c92580fb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width