Graham Coster added the comment:
This may be a silly question, however, does SpooledTemporaryFile need to exist
at all?
>From some testing on macOS, SpooledTemporaryFile appeared to never have a
>performance advantage over OS file caching, but with max_size greater than
>4GB,
Graham Coster added the comment:
This may be a silly question, however, does SpooledTemporaryFile need to exist
at all?
>From some testing on macOS, SpooledTemporaryFile appeared to never have a
>performance advantage over OS file caching, but with max_size greater than
>4GB,
New submission from Graham Coster :
Hi there,
As demonstrated in the attached script, I found that a StopIteration exception
occurs once a SpooledTemporaryFile has been rolled over from memory to disk,
even though seek(0) had move the file position to the top of the file.
I had previously
Change by Graham Coster :
--
components: Library (Lib)
files: spooled-temp-file-does-not-seek-correctly-after-being-rolled.py
nosy: Gary Fernie, James Hennessy, graham.coster, inada.naoki, martin.panter,
nubirstein, r.david.murray, serhiy.storchaka, terry.reedy
priority: normal