Package: python3-debian Version: 0.1.41 Severity: normal Modifying a deb822 file while iterating over it results in a RuntimeError:
... File "/home/jelmer/src/debian-janitor/python-debian/lib/debian/_deb822_repro/parsing.py", line 2208, in iter_keys yield from self._kvpair_elements RuntimeError: dictionary keys changed during iteration (This doesn't happen with the default deb822 implementation) -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-8-amd64 (SMP w/2 CPU threads) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages python3-debian depends on: ii python3 3.9.2-3 ii python3-chardet 4.0.0-1 ii python3-six 1.16.0-2 Versions of packages python3-debian recommends: ii python3-apt 2.2.1 Versions of packages python3-debian suggests: ii gpgv 2.2.27-2 -- no debconf information