Package: python-systemd
Version: 234-3build6
Severity: normal
Usertags: origin-ubuntu jammy

Dear Maintainer,
This bug report was also filed in Ubuntu and can be found at
The description, from Dan Bungert, follows:

Attempting to use the Reader class with python3.10, such as documented in the
example at,
results in the following traceback

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

I have sent a MR that should help, using a cherry-picked commit from upstream.


Reply via email to