[Python-checkins] (no subject)

Batuhan Taşkaya webhook-mailer at python.org
Sat Apr 4 20:40:57 EDT 2020




To: python-checkins at python.org
Subject: bpo-40190: Add support for _SC_AIX_REALMEM in sysconf (GH-19380)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

https://github.com/python/cpython/commit/909f4a30093f74d409711e564f93a43167ca=
0919
commit: 909f4a30093f74d409711e564f93a43167ca0919
branch: master
author: Batuhan Ta=C5=9Fkaya <batuhanosmantaskaya at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-04-05T02:40:49+02:00
summary:

bpo-40190: Add support for _SC_AIX_REALMEM in sysconf (GH-19380)

files:
A Misc/NEWS.d/next/Library/2020-04-05-02-58-17.bpo-40190.HF3OWo.rst
M Modules/posixmodule.c

diff --git a/Misc/NEWS.d/next/Library/2020-04-05-02-58-17.bpo-40190.HF3OWo.rs=
t b/Misc/NEWS.d/next/Library/2020-04-05-02-58-17.bpo-40190.HF3OWo.rst
new file mode 100644
index 0000000000000..58359330e3920
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-04-05-02-58-17.bpo-40190.HF3OWo.rst
@@ -0,0 +1 @@
+Add support for ``_SC_AIX_REALMEM`` to :func:`posix.sysconf`.
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 1adca8ec29dcd..345798dc8c10d 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -11424,6 +11424,9 @@ static struct constdef posix_constants_sysconf[] =3D {
 #ifdef _SC_PAGE_SIZE
     {"SC_PAGE_SIZE",    _SC_PAGE_SIZE},
 #endif
+#ifdef _SC_AIX_REALMEM
+    {"SC_AIX_REALMEM", _SC_AIX_REALMEM},
+#endif
 #ifdef _SC_PASS_MAX
     {"SC_PASS_MAX",     _SC_PASS_MAX},
 #endif



More information about the Python-checkins mailing list