Commit 6fdd7b81 authored by Victor Stinner's avatar Victor Stinner

Issue #17964: Fix os.sysconf(): the return type of the C sysconf() function

is long, not int.
parent 0b1bc56b
......@@ -91,6 +91,9 @@ Core and Builtins
Library
-------
- Issue #17964: Fix os.sysconf(): the return type of the C sysconf() function
is long, not int.
- Fix typos in the multiprocessing module.
- Issue #17754: Make ctypes.util.find_library() independent of the locale.
......
......@@ -9550,7 +9550,7 @@ posix_sysconf(PyObject *self, PyObject *args)
int name;
if (PyArg_ParseTuple(args, "O&:sysconf", conv_sysconf_confname, &name)) {
int value;
long value;
errno = 0;
value = sysconf(name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment