[issue34904] Crash in ZipFile.close() when writing zip file to /dev/null

Erik Bray report at bugs.python.org
Fri Oct 5 08:13:31 EDT 2018


Erik Bray <erik.m.bray at gmail.com> added the comment:

On Cygwin the same tests give

>>> f = open('/dev/null', 'wb')
>>> f.seekable()
True
>>> f.write(b'abcdefgh')
8
>>> f.tell()
8
>>> f.seek(8)
8
>>> f.tell()
8


I would also try macOS if I could.  But yes, I wonder if it's a Linux bug.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34904>
_______________________________________


More information about the Python-bugs-list mailing list