D7296: pycompat: kludge around pytype being confused by __new__

dlax (Denis Laxalde) phabricator at mercurial-scm.org
Fri Nov 15 06:03:41 EST 2019


This revision now requires changes to proceed.
dlax added a comment.
dlax requested changes to this revision.


  Rather `class bytestr(bytes):  # type: Callable[[Union[bytes, str], bytestr]` as @yuya suggested in D7380 <https://phab.mercurial-scm.org/D7380>.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7296/new/

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

To: durin42, #hg-reviewers, indygreg, dlax
Cc: mjpieters, dlax, indygreg, mercurial-devel


More information about the Mercurial-devel mailing list