Message90828
I've attached a patch to SpooledTemporaryFile (and its test class) to
remove the suprising exceptions.
SpooledTemporaryFile uses a io.StringIO for storage (in self._file)
until it reaches a certain size (or rollover() is called), at which
point it switches to a file object (or _TemporaryFileWrapper on
non-posix platforms). This implementation detail should be abstracted
away from the user.
The interface mismatch there which caused an AttributeError to be thrown
-- but only if the file size was new, or below a certain size. |
|
Date |
User |
Action |
Args |
2009-07-22 22:27:39 | leonov | set | recipients:
+ leonov |
2009-07-22 22:27:38 | leonov | set | messageid: <1248301658.9.0.0550967830695.issue6541@psf.upfronthosting.co.za> |
2009-07-22 22:27:37 | leonov | link | issue6541 messages |
2009-07-22 22:27:37 | leonov | create | |
|