Keelung Yang <keelung.y...@flex.com> added the comment:

This shouldn't be limited logging.
In unstable application scene, file should be append and then close immediately 
to avoid breaking filesystem (e.g. inode is not updated timely). Such as 
main.py file in MicroPython development board, user may disconnect USB or press 
reset at anytime without ejecting disk. Or in IVI system, some embedded 
devices, record should be appended immediately.

And if path.write(append=) is not common enough, then what's about built-in 
function open()? What's the purpose of adding read/write functions to 
pathlib.Path?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46554>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to