[Bug 1963582] Re: SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats

Bug Watch Updater 1963582 at bugs.launchpad.net
Sat Apr 2 14:37:20 UTC 2022


** Changed in: python-systemd (Debian)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1963582

Title:
  SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats

Status in python-systemd package in Ubuntu:
  Fix Released
Status in python-systemd package in Debian:
  Fix Released

Bug description:
  Attempting to use the Reader class with python3.10, such as documented in the example at https://www.freedesktop.org/software/systemd/python-systemd/journal.html?highlight=reader#systemd.journal.Reader,
  results in the following traceback

    File "/usr/lib/python3/dist-packages/systemd/journal.py", line 376, in this_boot
      self.add_match(_BOOT_ID=bootid)
    File "/usr/lib/python3/dist-packages/systemd/journal.py", line 244, in add_match
      super(Reader, self).add_match(arg)
  SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-systemd/+bug/1963582/+subscriptions




More information about the foundations-bugs mailing list