Package: python3.11 Version: 3.11.6-3 Severity: normal Tags: upstream X-Debbugs-Cc: t...@mirbsd.de, report...@stoffels.it
>>> i = int.from_bytes(b'11112345', 'little') >>> hex(i) '0x3534333231313131' >>> format(i, '064b') '0011010100110100001100110011001000110001001100010011000100110001' >>> format(i, '064_b') '11_0101_0011_0100_0011_0011_0011_0010_0011_0001_0011_0001_0011_0001_0011_0001' Expected output for the last line: '0011_0101_0011_0100_0011_0011_0011_0010_0011_0001_0011_0001_0011_0001_0011_0001' -- System Information: Debian Release: trixie/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386, x32 Kernel: Linux 5.10.0-26-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_FIRMWARE_WORKAROUND Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/lksh Init: sysvinit (via /sbin/init) Versions of packages python3.11 depends on: ii libpython3.11-stdlib 3.11.6-3 ii media-types 10.1.0 ii mime-support 3.66 ii python3.11-minimal 3.11.6-3 Versions of packages python3.11 recommends: ii ca-bundle [ca-certificates] 20190604tarent1 Versions of packages python3.11 suggests: ii binutils 2.41-6 pn python3.11-doc <none> pn python3.11-venv <none> -- no debconf information