pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/58875: python: terminal colours broke in some applications
>Number: 58875
>Category: pkg
>Synopsis: python: terminal colours broke in some applications
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 05 14:45:01 +0000 2024
>Originator: Taylor R Campbell
>Release: netbsd-9, pkgsrc-current in the last year
>Organization:
The [0;33mNetBSD[0m Foundation
>Environment:
>Description:
Some time between when lang/python311 was at 3.11.8 and now, at 3.11.10nb3, terminal escape sequences for colours have broken, so that, for example, hg produces the following output:
$ hg amend -i
diff --git a/tests/lib/libc/sys/t_select.c b/tests/lib/libc/sys/t_select.c
1 hunks, 1 lines changed
[0;33mexamine changes to 'tests/lib/libc/sys/t_select.c'?[0m[0;33m(enter ? for help) [Ynesfdaq?][0m
(I originally filed this upstream with Mercurial at https://bz.mercurial-scm.org/show_bug.cgi?id=6930 before investigating closer today and finding that upgrading Python made the difference.)
>How-To-Repeat:
1. install devel/mercurial with recent python311 or python312 packages
2. interactively commit a change (hg commit -i, hg amend -i)
>Fix:
Yes, please!
Home |
Main Index |
Thread Index |
Old Index