D7296: pycompat: kludge around pytype being confused by __new__

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Tue Nov 19 13:21:00 EST 2019


durin42 added a comment.


  In D7296#109672 <https://phab.mercurial-scm.org/D7296#109672>, @dlax wrote:
  
  > Sorry, still not ok afaict :/
  
  So, I tried fixing this and it actually made things worse? dagparser.py no longer typechecks if I correct the syntax? Try the pytype invocation from the test at the end of the series and you'll see what I mean.

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