Issue1156

classification
Title: rfc822.py incompatible with PyFile(java.io.InputStream istream)
Type: crash Severity: major
Components: Core Versions: 2.5alpha3
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: mdirolf, pjenvey, zyasoft
Priority: Keywords:

Created on 2008-10-21.18:19:07 by mdirolf, last changed 2008-10-21.18:45:23 by pjenvey.

Messages
msg3697 (view) Author: (mdirolf) Date: 2008-10-21.18:19:06
rfc822.Message tries an fp.tell() in __init__. on an AttributeError or 
IOError it sets seekable to 0. The problem is that if fp is a PyFile 
created from a java.io.InputStream fp.tell() throws a TypeError, not an 
AttributeError or IOError.
msg3698 (view) Author: Philip Jenvey (pjenvey) Date: 2008-10-21.18:45:22
we're now raising an IOError instead of TypeError for any unsupported file 
operation, in r5498. thanks
History
Date User Action Args
2008-10-21 18:45:23pjenveysetstatus: open -> closed
resolution: fixed
messages: + msg3698
nosy: + pjenvey
2008-10-21 18:29:00zyasoftsetnosy: + zyasoft
2008-10-21 18:19:08mdirolfcreate