Message373467
_TemporaryFileWrapper does not proxy __next__ to the underlying file object. There was a discussion on the mailing list in 2016 mentioning this, however it seems it was dropped without a consensus. Biopython encountered this issue (referenced below) and we agree it violates our assumptions about how the NamedTemporaryFile should work. I think it would be fairly trivial to fix by just returning `self.file.readline()`
mailing list thread: https://mail.python.org/pipermail/python-list/2016-July/862590.html
biopython discussion: https://github.com/biopython/biopython/pull/3031 |
|
Date |
User |
Action |
Args |
2020-07-10 13:58:43 | xzy3 | set | recipients:
+ xzy3 |
2020-07-10 13:58:42 | xzy3 | set | messageid: <1594389522.96.0.51886326593.issue41270@roundup.psfhosted.org> |
2020-07-10 13:58:42 | xzy3 | link | issue41270 messages |
2020-07-10 13:58:42 | xzy3 | create | |
|