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 <rep...@bugs.python.org> <http://bugs.python.org/issue17964> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com