SIGN IN SIGN UP

gh-137044: Make resource.RLIM_INFINITY always positive (GH-137511)

It is now a positive integer larger larger than any limited resource value.
This simplifies comparison of the resource values.
Previously, it could be negative, such as -1 or -3, depending on platform.

Deprecation warning is emitted if the old negative value is passed.
S
Serhiy Storchaka committed
0324c726dea702282a0300225e989b19ae23b759
Parent: 138ed6d
Committed by GitHub <noreply@github.com> on 8/18/2025, 4:28:56 PM