Debian Patches

Status for py-ubjson/0.16.1-5

Patch Description Author Forwarded Bugs Origin Last update
py12_recursion_PR19.diff python 3.12 compatibility https://github.com/python/cpython/issues/112282 yes
py314_recursion.patch Update recursion failure detection for Python 3.14 Recursion failures from C have changed in Python 3.14 - they now rely on
exhaustion of the stack rather than a simple call limit, and the message
that is returned has changed. Both these changes cause the tests for a
recursion-related RuntimeError to fail.
.
This patch updates the text from the error message matching to look for the
new text of "Stack overflow" and also increases the size of the operation
that is used to probe the failure by a factor of 10; this increase is big
enough on amd64 Python 3.14 on a trixie kernel, but could easily not be
enough in other environments.
.
For details of the changes to recursion in Python 3.14, see
https://github.com/python/cpython/commit/014223649c33b2febbccfa221c2ab7f18a8c0847#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
Stuart Prescott <stuart@debian.org> no debian

All known versions for source package 'py-ubjson'

Links