Message273274
Yeah, it definitely is a bug in CPython. open(mode='a') should always append to the end of the given file.
If you're writing an append-only text log to some file-like object, that's the mode you use, not some version/platform/filesystem specific voodoo to find out what's the least incorrect way to work around Python implementation deficiencies. |
|
Date |
User |
Action |
Args |
2016-08-21 07:23:29 | ztane | set | recipients:
+ ztane, hathawsh, vstinner, r.david.murray, martin.panter |
2016-08-21 07:23:29 | ztane | set | messageid: <1471764209.72.0.86299969274.issue27805@psf.upfronthosting.co.za> |
2016-08-21 07:23:29 | ztane | link | issue27805 messages |
2016-08-21 07:23:29 | ztane | create | |
|