Mercurial > hg-stable
comparison hg @ 36080:4fe2041007ed
py3: use bytes() to cast context instances
__str__ and __bytes__ are both implemented on context types. However,
__str__ behaves differently on Python 2 and 3.
Differential Revision: https://phab.mercurial-scm.org/D2143
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 11 Feb 2018 13:09:16 -0800 |
parents | 163fa0aea71e |
children | 5e78c100a215 |
comparison
equal
deleted
inserted
replaced
36079:e3674c2a585c | 36080:4fe2041007ed |
---|