Make print() use a single write() call
A CPython discussion proposes having print() combine its arguments into one sys.stdout.write() call, which would reduce interleaving between concurrent threads but add memory and copying overhead for large output. A reply suggests writing in adaptive chunks and an optional atomic parameter.