Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix recursion test case for Python 3.12 #19

Open
wants to merge 3 commits into
base: dev-contrib
Choose a base branch
from

Conversation

vtermanis
Copy link
Member

@vtermanis vtermanis commented Oct 20, 2023

- Update pylint.rc or 3.0.1
- Minor code changes for warnings
@yan12125
Copy link

Hi, is there anything to do before merging this? Maybe I can help

@kapouer
Copy link

kapouer commented Apr 22, 2024

This PR doesn't really fix tests for latest version of python 3.12.
See python/cpython#112282

The simplest way to fix the tests is to not call /setrecursionlimit/, just getrecursionlimit.

@vtermanis
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants