[New-bugs-announce] [issue24494] Can't specify encoding with fileinput and inplace=True

lilydjwg report at bugs.python.org
Wed Jun 24 05:47:29 CEST 2015


New submission from lilydjwg:

I want to use fileinput to modify files, but find no way to specify the file encoding. I tried to use "hook_encoded", but it says "FileInput cannot use an opening hook in inplace mode".

----------
components: Library (Lib)
messages: 245711
nosy: lilydjwg
priority: normal
severity: normal
status: open
title: Can't specify encoding with fileinput and inplace=True
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24494>
_______________________________________


More information about the New-bugs-announce mailing list