New submission from mike.parker <mike.parker-3ob7b...@yopmail.com>:
io.FileIO.mode doesn't reflect "The mode as given in the constructor." as per the documentation(https://docs.python.org/3/library/io.html#io.FileIO.mode). Was noted in issue4362, but seems to be still relevant. Example: >>> f = open("t.tmp", "w+b") >>> f.mode 'rb+' ---------- assignee: docs@python components: Documentation, IO messages: 367288 nosy: benjamin.peterson, docs@python, mike.parker, stutzbach priority: normal severity: normal status: open title: io.FileIO.mode doesn't comply with the docs type: behavior versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40391> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com