D3771: py3: make contrib/perf.py compatible to Python 3

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Mon Jun 18 09:04:49 EDT 2018


yuja added a comment.


  > +    fm.write(b'wall', ' wall %f', m[0])
  >  +    fm.write(b'comb', ' comb %f', m[1] + m[2])
  >  +    fm.write(b'user', ' user %f', m[1])
  >  +    fm.write(b'sys',  ' sys %f', m[2])
  >  +    fm.write(b'count',  ' (best of %d)', count)
  
  Needs more b''s.
  
  I think it's better to split patches to b'' and the other. I'll send the
  patch series that extracts the b'' transformer from the module importer.

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list