Read about our upcoming Code of Conduct on this issue

  • Manuel Jacob's avatar
    procutil: make mercurial.utils.procutil.stderr unbuffered · 8403cc54bc83
    Manuel Jacob authored
    For most Mercurial code, it doesn’t make a difference, as the ui object flushes
    stderr explicitly (after the change, we could get rid of the explicit flush).
    One example where it makes a observable difference is mercurial.util.timed().
    Without the patch, the time is not immediately shown on Python 3. With the
    patch, it’s shown immediately on all Python versions and platforms.
    8403cc54bc83
procutil.py 21.2 KB