python3-qrencode fails with SystemError about PY_SSIZE_T_CLEAN macro
Bug #2056340 reported by
Arrigo Marchiori
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QR Tools |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Python3 module qrencode does not allow generating QR codes using function encode().
The attached very simple script dies as follows:
$ ./python3-
Traceback (most recent call last):
File "/home/
qrencode.
File "/usr/lib/
version, size, data = _encode(data, version, level, hint, True)
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
To post a comment you must log in.
Pagage: python3-qrencode version 1.2-5build6, architecture amd64 on Ubuntu 22.04