[New-bugs-announce] [issue17964] os.sysconf(): return type of the C function sysconf() is long, not int

STINNER Victor report at bugs.python.org
Mon May 13 01:58:36 CEST 2013


New submission from STINNER Victor:

According to POSIX and my manual page on Linux, sysconf() return type is long (and not int).
http://pubs.opengroup.org/onlinepubs/009695399/functions/sysconf.html

It may not mater in practice because most sysconf() results are smaller than 1000, and I failed to find a value bigger than 2 millions.

----------
files: sysconf_long.patch
keywords: patch
messages: 189078
nosy: haypo
priority: normal
severity: normal
status: open
title: os.sysconf(): return type of the C function sysconf() is long, not int
versions: Python 2.7, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file30242/sysconf_long.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17964>
_______________________________________


More information about the New-bugs-announce mailing list