This is an archive of the discontinued Mercurial Phabricator instance.

profiling: flush stdout before writing profile to stderr
ClosedPublic

Authored by spectral on Jan 27 2020, 9:44 PM.

Details

Summary

On py3, stdout and stderr appear to be buffered and this causes my command's
output to be intermixed with the profiling output.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

spectral created this revision.Jan 27 2020, 9:44 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.