diff -r 73ce055b169a -r bb35fe8621f5 mercurial/statprof.py --- a/mercurial/statprof.py Mon Nov 21 08:09:41 2016 -0800 +++ b/mercurial/statprof.py Wed Nov 30 23:38:50 2016 +0530 @@ -177,7 +177,7 @@ class CodeSite(object): cache = {} - __slots__ = ('path', 'lineno', 'function', 'source') + __slots__ = (u'path', u'lineno', u'function', u'source') def __init__(self, path, lineno, function): self.path = path @@ -232,7 +232,7 @@ return os.path.basename(self.path) class Sample(object): - __slots__ = ('stack', 'time') + __slots__ = (u'stack', u'time') def __init__(self, stack, time): self.stack = stack