Closed mbolivar-nordic closed 2 years ago
@M1cha similar comments apply here as to #527 -- if it's an easy fix, please send a PR. This will block v0.12.
@mbolivar-nordic it's not interleaving, part of the log is simply missing.
Adding logfile.flush()
and os.fdatasync(logfile.fileno())
didn't help
Also, my attempts to debug this make it seem like imap_unordered
returns before flushing which makes me think that I can't trust print timing.
This is with west v0.12.0a2 as I just built and uploaded to PyPI. I verified
update.unbuffered
is not set.On my Arch Linux box running Python 3.9.6, with similar results on my macOS box running python 3.8.2:
compare with