[issue26605] Feature request: string method `to_file`
STINNER Victor
report at bugs.python.org
Mon Mar 21 13:03:20 EDT 2016
STINNER Victor added the comment:
It's easy to implement such function in a module and upload such module to PyPI (ex: "to_file" module :-)).
It's not easy to guess user expectations on such function: text encoding, buffering, etc.
Adding a method to the builtin str type which writes into a file is a no-no.
----------
nosy: +haypo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26605>
_______________________________________
More information about the Python-bugs-list
mailing list