Skip to content

[3.14] gh-137044: Support large limit values in getrlimit() and setrlimit() (GH-137338) - #137506

Merged
vstinner merged 1 commit into
python:3.14from
miss-islington:backport-baefaa6-3.14
Oct 7, 2025
Merged

vstinner merged 1 commit into
python:3.14from
miss-islington:backport-baefaa6-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Aug 7, 2025 •

Copy link
Copy Markdown
Contributor
  • Return large limit values as positive integers instead of negative integers
    in resource.getrlimit().
  • Accept large values and reject negative values (except RLIM_INFINITY)
    for limits in resource.setrlimit().
    (cherry picked from commit baefaa6)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…mit() (pythonGH-137338)

* Return large limit values as positive integers instead of negative integers
  in resource.getrlimit().
* Accept large values and reject negative values (except RLIM_INFINITY)
  for limits in resource.setrlimit().
(cherry picked from commit baefaa6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants