This is a followup of #16995. While #16999 fixed the carriage return for the python print statement, I still get issues with \r based progressbars created in a c++ module (exposed via pybind11).
On windows os.linesep includes a carriage return, so when the output file is opened in text mode, \n is translated to \r\n. This can be disabled by passing newline='' when opening the file. Whether ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results