Your message dated Tue, 24 Feb 2026 22:50:02 -0500
with message-id <[email protected]>
and subject line Re: BytesWarning: Comparison between bytes and string
has caused the Debian Bug report #939084,
regarding BytesWarning: Comparison between bytes and string
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
939084: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939084
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-urwid
Version: 2.0.1-2+b1
Severity: minor
Tags: upstream

When running an urwid program using "/usr/bin/python3 -b" (note the -b
option), the urwid package triggered a warning:

[...]
  File "/usr/lib/python3/dist-packages/urwid/display_common.py", line 760, in 
stop
    self._stop()
  File "/usr/lib/python3/dist-packages/urwid/curses_display.py", line 147, in 
_stop
    self.tty_signal_keys(*self._old_signal_keys)
  File "/usr/lib/python3/dist-packages/urwid/display_common.py", line 700, in 
tty_signal_keys
    if intr == 'undefined': intr = 0
BytesWarning: Comparison between bytes and string

I would expect a Python 3 module such as python3-urwid to be able to
run (when the -b option to python3 is used) without generating such
warnings.

-- System Information:
Debian Release: 10.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:C:en:en_GB:sv_SE:sv_FI (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-urwid depends on:
ii  libc6    2.28-10
ii  python3  3.7.3-1

python3-urwid recommends no packages.

Versions of packages python3-urwid suggests:
pn  python-urwid-doc  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 3.0.4-1

On Sun, 01 Sep 2019 08:49:41 +0200 Teddy Hogeborn <[email protected]> wrote:
Package: python3-urwid
Version: 2.0.1-2+b1
Severity: minor
Tags: upstream

When running an urwid program using "/usr/bin/python3 -b" (note the -b
option), the urwid package triggered a warning:

[...]
  File "/usr/lib/python3/dist-packages/urwid/display_common.py", line 760, in 
stop
    self._stop()
  File "/usr/lib/python3/dist-packages/urwid/curses_display.py", line 147, in 
_stop
    self.tty_signal_keys(*self._old_signal_keys)
  File "/usr/lib/python3/dist-packages/urwid/display_common.py", line 700, in 
tty_signal_keys
    if intr == 'undefined': intr = 0
BytesWarning: Comparison between bytes and string

I would expect a Python 3 module such as python3-urwid to be able to
run (when the -b option to python3 is used) without generating such
warnings.


I believe this bug is no longer present in the recent urwid versions.
If you find other occurrences of similar bugs, please feel free to open
a new bug report.

Thanks,
Boyuan Yang

--- End Message ---

Reply via email to