Message84140
| Author |
vstinner |
| Recipients |
amaury.forgeotdarc, pitrou, sjoerd, vstinner |
| Date |
2009年03月25日.01:26:56 |
| SpamBayes Score |
3.338899e-07 |
| Marked as misclassified |
No |
| Message-id |
<1237944421.34.0.933142803443.issue4591@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
New patch using PyNumber_Index()+PyLong_AsLong() for parse_uid() and
parse_gid() as proposed by antoine (on IRC).
Changes between python trunk and posix_unsigned_uid-3.patch:
- os.chown() and os.fchown() accepts uid and gid > 2^31: identifiers
can be in [-1; 2^32-1] (-1 means: don't change uid/gid)
- fix os.*stat(): st_uid and st_gid are unsigned long integers (in [0;
2^32-1]) instead of signed integers
- os.chown(), os.fchown() and os.setgroups() accepts any objects
implementing __index__() method (instead of just int/long) and display
the valid range on error ("group id is to big" => "group id is not in
range [-1; 2^32-1]") |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年03月25日 01:27:01 | vstinner | set | recipients:
+ vstinner, sjoerd, amaury.forgeotdarc, pitrou |
| 2009年03月25日 01:27:01 | vstinner | set | messageid: <1237944421.34.0.933142803443.issue4591@psf.upfronthosting.co.za> |
| 2009年03月25日 01:26:59 | vstinner | link | issue4591 messages |
| 2009年03月25日 01:26:58 | vstinner | create |
|