This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author keelung-yang
Recipients barneygale, keelung-yang, serhiy.storchaka
Date 2022-01-28.10:56:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643367393.57.0.508373134381.issue46554@roundup.psfhosted.org>
In-reply-to
Content
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?
History
Date User Action Args
2022-01-28 10:56:33keelung-yangsetrecipients: + keelung-yang, serhiy.storchaka, barneygale
2022-01-28 10:56:33keelung-yangsetmessageid: <1643367393.57.0.508373134381.issue46554@roundup.psfhosted.org>
2022-01-28 10:56:33keelung-yanglinkissue46554 messages
2022-01-28 10:56:33keelung-yangcreate