[issue38625] SpooledTemporaryFile does not seek correctly after being rolled over

2021-11-16 Thread Inada Naoki
Inada Naoki added the comment: The another error I found is already reported as #42868. -- ___ Python tracker ___ ___ Python-bugs-l

[issue38625] SpooledTemporaryFile does not seek correctly after being rolled over

2021-11-16 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 ___ Python tracker ___ ___

[issue38625] SpooledTemporaryFile does not seek correctly after being rolled over

2021-11-16 Thread Inada Naoki
Inada Naoki added the comment: I confirmed that this bug is fixed, but I found another error. -- ___ Python tracker ___ ___ Python-

[issue38625] SpooledTemporaryFile does not seek correctly after being rolled over

2021-11-16 Thread Inada Naoki
Inada Naoki added the comment: Is this bug fixed by #26730? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue38625] SpooledTemporaryFile does not seek correctly after being rolled over

2019-11-25 Thread Graham Coster
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, it was a signif

[issue38625] SpooledTemporaryFile does not seek correctly after being rolled over

2019-11-24 Thread Inada Naoki
Inada Naoki added the comment: SpooledTemporaryFile has very serious bug which causes data corruption (#26730). Please don't use it with text mode until it is fixed. -- ___ Python tracker _

[issue38625] SpooledTemporaryFile does not seek correctly after being rolled over

2019-11-24 Thread R. David Murray
R. David Murray added the comment: The docs currently say "The returned object is a file-like object whose _file attribute is either an io.BytesIO or io.StringIO object (depending on whether binary or text mode was specified) or a true file object, depending on whether rollover() has been ca

[issue38625] SpooledTemporaryFile does not seek correctly after being rolled over

2019-10-28 Thread Graham Coster
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 be

[issue38625] SpooledTemporaryFile does not seek correctly after being rolled over

2019-10-28 Thread Graham Coster
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 severit