When I invoke /usr/bin/python3 (from python3-3.14.7-1.fc44), whether in konsole-26.08.0-1.fc44 or warp-terminal-preview-v0.2026.09.02.08.27.preview_01-1 (irrespective of whether first invoked in another shell, like powershell-7.6.3-1.fc44, or bash-5.3.9-3.fc44), if the terminal emulator’s window is short, the first few lines, of code that I paste into it, are redacted from the pasted output:
Python 3.14.7 (main, Aug 10 2026, 00:00:00) [GCC 16.1.1 20260515 (Red Hat 16.1.1-2)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> ... properties = {} ... for name in tags: ... value = header[ ... getattr( ... rpm, ... f"RPMTAG_{name}" ... ) ... ] ... if name in ( ... "INSTALLTIME", ... "BUILDTIME" ... ): ... value = ( ... datetime.fromtimestamp( ... value, ... timezone.utc ... ) ... .isoformat(timespec="seconds") ... .replace( ... "+00:00", ... "Z" ... ) ... ) ... properties[name] = value ... print( ... yaml.safe_dump( ... properties, ... sort_keys=False, ... default_flow_style=False, ... ) ... ) ... NAME: signal-desktop VERSION: 8.26.0 RELEASE: 1.fc44 ARCH: x86_64 INSTALLTIME: '2026-09-03T23:39:58Z' SIZE: 430169042 SIGPGP: !!binary | wqsEABYIAF0FgmqZ3YsJEADNq0PeIm1vNRQAAAAAABwAEHNhbHRAbm90YXRpb25zLm9wZW5wZ3Bq cy5vcmepfwkn0zWmu3r3TN1XpYFiFiEErgkVek3oi0l+odXTAM2rQ94ibW8AAO9jAP9ku8M7/ktQ hCoEgSNyC9jp8nXYlboW1tSQuMAdQ35zhwD8DeKbCnQpvy8qyke21uVWhHhta0ibbIJ20oyYd7Kq Tgc= SOURCERPM: signal-desktop-8.26.0-1.fc44.src.rpm BUILDTIME: '2026-09-03T20:44:19Z' BUILDHOST: 262b08a52583 PACKAGER: junefish <june@fyralabs.com> VENDOR: Terra >>>
Otherwise, the indentation is corrupted:
Python 3.14.7 (main, Aug 10 2026, 00:00:00) [GCC 16.1.1 20260515 (Red Hat 16.1.1-2)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> #!/usr/bin/env python3 ... import rpm, yaml ... from datetime import datetime, timezone ... from shutil import which ... package = which("signal-desktop") ... header = next( ... rpm.TransactionSet().dbMatch( ... "basenames", ... package ... ) ... ) ... tags = ( ... "NAME", ... "VERSION", ... "RELEASE", ... "ARCH", ... "INSTALLTIME", ... "SIZE", ... "SIGPGP", ... "SOURCERPM", ... "BUILDTIME", ... "BUILDHOST", ... "PACKAGER", ... "VENDOR", ... ) ... properties = {} ... for name in tags: ... value = header[ ... getattr( ... rpm, ... f"RPMTAG_{name}" ... ) ... ] ... if name in ( ... "INSTALLTIME", ... "BUILDTIME" ... ): ... value = ( ... datetime.fromtimestamp( ... value, ... timezone.utc ... ) ... .isoformat(timespec="seconds") ... .replace( ... "+00:00", ... "Z" ... ) ... ) ... properties[name] = value ... print( ... yaml.safe_dump( ... properties, ... sort_keys=False, ... default_flow_style=False, ... ) ... ) ... NAME: signal-desktop VERSION: 8.26.0 RELEASE: 1.fc44 ARCH: x86_64 INSTALLTIME: '2026-09-03T23:39:58Z' SIZE: 430169042 SIGPGP: !!binary | wqsEABYIAF0FgmqZ3YsJEADNq0PeIm1vNRQAAAAAABwAEHNhbHRAbm90YXRpb25zLm9wZW5wZ3Bq cy5vcmepfwkn0zWmu3r3TN1XpYFiFiEErgkVek3oi0l+odXTAM2rQ94ibW8AAO9jAP9ku8M7/ktQ hCoEgSNyC9jp8nXYlboW1tSQuMAdQ35zhwD8DeKbCnQpvy8qyke21uVWhHhta0ibbIJ20oyYd7Kq Tgc= SOURCERPM: signal-desktop-8.26.0-1.fc44.src.rpm BUILDTIME: '2026-09-03T20:44:19Z' BUILDHOST: 262b08a52583 PACKAGER: junefish <june@fyralabs.com> VENDOR: Terra >>>
Even worse, albeit potentially tangential, attempting to go back a command mangles the output further:
However, it executes correctly, regardless. The original code is:
#!/usr/bin/env python3
import rpm, yaml
from datetime import datetime, timezone
from shutil import which
package = which("signal-desktop")
header = next(
rpm.TransactionSet().dbMatch(
"basenames",
package
)
)
tags = (
"NAME",
"VERSION",
"RELEASE",
"ARCH",
"INSTALLTIME",
"SIZE",
"SIGPGP",
"SOURCERPM",
"BUILDTIME",
"BUILDHOST",
"PACKAGER",
"VENDOR",
)
properties = {}
for name in tags:
value = header[
getattr(
rpm,
f"RPMTAG_{name}"
)
]
if name in (
"INSTALLTIME",
"BUILDTIME"
):
value = (
datetime.fromtimestamp(
value,
timezone.utc
)
.isoformat(timespec="seconds")
.replace(
"+00:00",
"Z"
)
)
properties[name] = value
print(
yaml.safe_dump(
properties,
sort_keys=False,
default_flow_style=False,
)
)
My Environment
NAME: python3 VERSION: 3.14.7 RELEASE: 1.fc44 ARCH: x86_64 INSTALLTIME: '2026-08-19T23:41:21Z' SIZE: 29390 SIGPGP: null SOURCERPM: python3.14-3.14.7-1.fc44.src.rpm BUILDTIME: '2026-08-12T08:46:11Z' BUILDHOST: buildvm-x86-19.rdu3.fedoraproject.org PACKAGER: Fedora Project VENDOR: Fedora Project


