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
Add check for setrlimit() support #36547
Comments
The new test_resource test calls resource.setrlimit() Since that getrlimit() works, and setrlimit() can be |
Logged In: YES Don't check for systems, check for features instead. In this specific case, what error does Cygwin report? Could |
Logged In: YES Cygwin Python raises ValueError when you call setrlimit() |
Logged In: YES I'm not sure I understand the logic in the modified |
Logged In: YES Since there are other limits that can be set via setrlimit(), Besides, even though setrlimit(FSIZE) isn't allowed to change |
Logged In: YES Jason, can you please review this patch, and apply it if it If not, please unassign it. |
Logged In: YES The patch looks OK from a Cygwin point of view. However, |
Logged In: YES If "looks ok" means "the test fails without the patch, and |
Logged In: YES Checked in as Lib/test/test_resource.py 1.3. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: