After using cython, gcc and Python 3.13 to run a minimized subset of the failing code, I observed a 'PyBytes_Check' assertion failure, and began
to suspect some of the typecasting code[1] in the nt_to_aa function that accesses bytearray objects as if they are bytes.
Please find attached a patch that rewrites the _helpers.pyx code to
construct the relevant objects natively as bytes (immutable), resolving
the runtime error while hopefully not degrading performance
significantly.
[ ... snip ... ]
Please find attached a patch that rewrites the _helpers.pyx code to construct the relevant objects natively as bytes (immutable), resolving
the runtime error while hopefully not degrading performance
significantly.
Thank you for the patch, I can see that it resolves the build
failure and am going to include it in the next upload of
python-sqt.
Have a nice day, :)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 480 |
Nodes: | 16 (2 / 14) |
Uptime: | 05:47:20 |
Calls: | 9,535 |
Calls today: | 3 |
Files: | 13,653 |
Messages: | 6,138,719 |
Posted today: | 1 |