Public bug reported: Using dbus.Byte to create a Byte value for dbus errors out with: return dbus.Byte(value); TypeError: Expected a bytes or str of length 1, or an int in the range 0-255
even with a one character string like 'e' or 'a'. This is likely because python2 strings were char and python3 strings are unicode. dbus.Byte should still accept a str of length 1 and make the needed conversion internally. ** Affects: dbus-python (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1899298 Title: dbus.Byte does not accept single character strings To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dbus-python/+bug/1899298/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs