Decorater added the comment: hmm into looking it should check if it is in actuality a binary file the length of the file data does not really determine anything on encoding really.
if self._binary_file: would suffice on determining binary mode or not. ---------- nosy: +Decorater _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27777> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com