Fix recursion test case for Python 3.12 - #19
Conversation
- Update pylint.rc or 3.0.1 - Minor code changes for warnings
|
Hi, is there anything to do before merging this? Maybe I can help |
|
This PR doesn't really fix tests for latest version of python 3.12. The simplest way to fix the tests is to not call /setrecursionlimit/, just getrecursionlimit. |
It's not that - there's a good reason why the tests set the limit previously: The test would otherwise take too long to generate the required data or fail with a different error on earlier versions (I believe < 3.4 & 2.7.) I'm planning to drop support for everything < 3.8 and then indeed no setting should be needed, it appears. |
|
There is an additional change in the way Python 3.14 raises recursion errors from C extensions that requires changes here. See https://salsa.debian.org/python-team/packages/py-ubjson/-/blob/debian/master/debian/patches/py314_recursion.patch?ref_type=heads |
Uh oh!
There was an error while loading. Please reload this page.