Issue1364

classification
Title: SimpleHTTPServer.py contains call to missing os.fstat
Type: Severity: normal
Components: Library Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: pjenvey Nosy List: pjenvey, skilchen
Priority: Keywords:

Created on 2009-06-03.07:26:42 by skilchen, last changed 2009-06-04.02:51:55 by pjenvey.

Messages
msg4784 (view) Author: Samuel Kilchenmann (skilchen) Date: 2009-06-03.07:26:42
in SimpleHTTPServer.py there is the following line:
fs = os.fstat(f.fileno())
which means: you can't use this module from jython

as a workaround i changed the line to:
fs = os.stat(path)
which seems to work, but is it a good idea?
msg4793 (view) Author: Philip Jenvey (pjenvey) Date: 2009-06-04.02:51:54
fixed in r6446, thanks
History
Date User Action Args
2009-06-04 02:51:55pjenveysetstatus: open -> closed
resolution: fixed
messages: + msg4793
2009-06-04 01:30:57pjenveysetassignee: pjenvey
nosy: + pjenvey
2009-06-03 07:26:42skilchencreate