D299: py3: introduce a wrapper for __builtins__.{raw_,}input()

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Tue Aug 15 23:34:59 EDT 2017


yuja accepted this revision.
yuja added inline comments.
This revision is now accepted and ready to land.

INLINE COMMENTS

> util.py:180
> +            sys.stdin, sys.stdout = encoding.strio(fin), encoding.strio(fout)
> +            return pycompat.bytestr(input(*args, **kwargs))
> +        else:

s/pycompat.bytestr/encoding.strtolocal/ and queued, thanks.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D299

To: durin42, #hg-reviewers, yuja
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list