From: Serhiy Storchaka Date: Wed, 20 Aug 2025 12:05:38 +0000 (+0300) Subject: gh-137044: To weaken the statement regarding the RLIM_INFINITY value (GH-137954) X-Git-Tag: v3.15.0a1~635 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=23adbf53c5b1d614c326c27bdc379ff6a775e8fe;p=thirdparty%2FPython%2Fcpython.git gh-137044: To weaken the statement regarding the RLIM_INFINITY value (GH-137954) --- diff --git a/Doc/library/resource.rst b/Doc/library/resource.rst index 230f11474f76..5bc68fdeff4d 100644 --- a/Doc/library/resource.rst +++ b/Doc/library/resource.rst @@ -50,7 +50,6 @@ this module for those platforms. .. data:: RLIM_INFINITY Constant used to represent the limit for an unlimited resource. - Its value is larger than any limited resource value. .. versionchanged:: next It is now always positive. diff --git a/Misc/NEWS.d/next/Library/2025-08-07-12-32-23.gh-issue-137044.abNoIy.rst b/Misc/NEWS.d/next/Library/2025-08-07-12-32-23.gh-issue-137044.abNoIy.rst index 4bbf3075dfca..5a87d3c7dd04 100644 --- a/Misc/NEWS.d/next/Library/2025-08-07-12-32-23.gh-issue-137044.abNoIy.rst +++ b/Misc/NEWS.d/next/Library/2025-08-07-12-32-23.gh-issue-137044.abNoIy.rst @@ -1,4 +1,4 @@ -:data:`resource.RLIM_INFINITY` is now always a positive integer 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. +:data:`resource.RLIM_INFINITY` is now always a positive integer. +On all supported platforms, it is larger than any limited resource value, +which simplifies comparison of the resource values. +Previously, it could be negative, such as -1 or -3, depending on platform.