Public bug reported:

I recently upgraded my system from 20.04 to 22.04 and some previous
working python programs that use the python3-radix package stopped
working with this error:

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

A simple reproduction of this bug is:

$ python3
Python 3.10.4 (main, Apr  2 2022, 09:04:19) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import radix
>>> t=radix.Radix()
>>> t.search_best(packed='')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats

See about this: https://docs.python.org/3.10/whatsnew/3.10.html#id2

The related radix issue is: https://github.com/mjschultz/py-radix/issues/54
And the patch for it: https://github.com/mjschultz/py-radix/pull/55/files

Please fix it asap because there is no python3 radix module in Ubuntu
22.04 now.

** Affects: py-radix (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: jammy python3 radix

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

Title:
  Python3-radix fails with: "PY_SSIZE_T_CLEAN macro must be defined for
  '#' formats"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/py-radix/+bug/1976621/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to