[New-bugs-announce] [issue5705] os.getpwent returns unsigned 32bit value, os.setuid refuses it
Gregory P. Smith
report at bugs.python.org
Mon Apr 6 00:37:56 CEST 2009
New submission from Gregory P. Smith <greg at krypto.org>:
Running test_httpservers on a 64-bit build of Python 2.7 trunk on OS X
10.5: (I added a print "nobody=", nobody)
test_authorization (__main__.CGIHTTPServerTestCase) ... nobody= 4294967294
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 55322)
Traceback (most recent call last):
File "/Users/greg/sandbox/python/trunk/Lib/CGIHTTPServer.py", line
251, in run_cgi
os.setuid(nobody)
OverflowError: signed integer is greater than maximum
----------
assignee: gregory.p.smith
keywords: 64bit
messages: 85582
nosy: gregory.p.smith
priority: normal
severity: normal
status: open
title: os.getpwent returns unsigned 32bit value, os.setuid refuses it
type: behavior
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5705>
_______________________________________
More information about the New-bugs-announce
mailing list