[issue2005] posixmodule expects sizeof(pid_t/gid_t/uid_t) <= sizeof(long)

Serhiy Storchaka report at bugs.python.org
Thu Feb 14 10:19:17 CET 2013


Serhiy Storchaka added the comment:

Auxiliary conversion functions for uid_t and gid_t was added in issue4591. They are supports unsigned types not larger than unsigned long.

If someone need the support of the platform with signed uid_t/gid_t or with uid_t/gid_t larger than long (I don't know such modern platforms), here's the patch.

----------
dependencies: +32-bits unsigned user/group identifier

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


More information about the Python-bugs-list mailing list