https://github.com/python/cpython/commit/23adbf53c5b1d614c326c27bdc379ff6a775e8fe
commit: 23adbf53c5b1d614c326c27bdc379ff6a775e8fe
branch: main
author: Serhiy Storchaka <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2025-08-20T15:05:38+03:00
summary:
gh-137044: To weaken the statement regarding the RLIM_INFINITY value (GH-137954)
files:
M Doc/library/resource.rst
M Misc/NEWS.d/next/Library/2025-08-07-12-32-23.gh-issue-137044.abNoIy.rst
diff --git a/Doc/library/resource.rst b/Doc/library/resource.rst
index 230f11474f767d..5bc68fdeff4dd2 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 4bbf3075dfcafe..5a87d3c7dd04ec 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.
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]