New submission from Ilya Kulakov: According to the most recent documentation:
Return the current stream position as an opaque number. The number does not usually represent a number of bytes in the underlying binary storage. Therefore stream should be opened as 'ab' by using value of the encoding argument or sys.getdefaultencoding if it's None. ---------- messages: 249177 nosy: Ilya.Kulakov priority: normal severity: normal status: open title: RotatingFileHandler uses tell in non-binary mode to determine size of the file in bytes versions: Python 2.7, Python 3.4, Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24940> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com