durin42 added a comment.

  In https://phab.mercurial-scm.org/D2226#36921, @indygreg wrote:
  
  > Ugh. Maybe `.format()` would be better here. We can use that in 3.5 for 
bytes, right?
  
  
  Python 3.6.2 (default, Jul 17 2017, 17:35:42)
  [GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)] on darwin
  Type "help", "copyright", "credits" or "license" for more information.
  
  >>> b''.format
  
  Traceback (most recent call last):
  
    File "<stdin>", line 1, in <module>
  
  AttributeError: 'bytes' object has no attribute 'format'
  
  Sigh.

REPOSITORY
  rHG Mercurial

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

To: durin42, #hg-reviewers, indygreg
Cc: indygreg, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to