Zachary Ware <zachary.w...@gmail.com> added the comment:

Your attached file doesn't seem to be a valid zip file.

Also, note that the result of `tell` on a file opened in text mode is 
documented [1] as being an opaque integer; there is no guarantee that the 
result of `tell` has any relation to the number of characters read from the 
file.  `tell` on a binary file does return the exact position of the cursor in 
the file, though.

[1] https://docs.python.org/3/library/io.html#io.TextIOBase.tell

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36190>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to