New submission from Christian Heimes: The posix module except that a pid_t, uid_t and gid_t always fit into a long or can be parsed by "i". On some OSes and combination of 64bit typess and 32bit long it's an invalid assumption.
The code should use long long where available or at least do some overflow checks. See r1983 ---------- components: Extension Modules keywords: easy messages: 62026 nosy: tiran priority: normal severity: normal status: open title: posixmodule expects sizeof(pid_t/gid_t/uid_t) <= sizeof(long) type: behavior versions: Python 2.6, Python 3.0 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2005> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com