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

Dan Bungert 1963582 at bugs.launchpad.net
Thu Mar 3 23:57:16 UTC 2022


Public bug reported:

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

** Affects: python-systemd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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