[issue7365] grp and pwd should treat uid and gid as unsigned

2013-02-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Fixed by patch for issue4591. -- nosy: +serhiy.storchaka resolution: - duplicate stage: patch review - committed/rejected status: open - closed superseder: - 32-bits unsigned user/group identifier ___ Python

[issue7365] grp and pwd should treat uid and gid as unsigned

2011-06-25 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7365 ___ ___ Python-bugs-list

[issue7365] grp and pwd should treat uid and gid as unsigned

2011-03-29 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: I took the freedom to refresh the patch against default (I don't know yet the policies for what to backport and what not), built a debug version of python with the patch applied and run the test suite with no regression. A test would be

[issue7365] grp and pwd should treat uid and gid as unsigned

2010-07-11 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- components: +Library (Lib) -Extension Modules stage: - patch review versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org

[issue7365] grp and pwd should treat uid and gid as unsigned

2010-07-11 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- components: +Extension Modules -Library (Lib) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7365 ___

[issue7365] grp and pwd should treat uid and gid as unsigned

2009-11-19 Thread Ed Plese
New submission from Ed Plese e...@edplese.com: Both Linux and Solaris define uid_t and gid_t as unsigned integers. The pwd and grp modules cast these to signed long values that are then converted with PyInt_FromLong. For large values, greater than 2 ** 32 - 1, the result is correct when Python