Mercurial > hg
comparison mercurial/obsolete.py @ 50929:18c8c18993f0
pycompat: drop usage of hasattr/getattr/setattr/delatt proxy
The function remains to ease extensions transition, but we no longer use them in
core.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 01 Sep 2023 00:09:55 +0200 |
parents | 360c156e1f81 |
children | 5f9af8422b31 |
comparison
equal
deleted
inserted
replaced
50928:d718eddf01d9 | 50929:18c8c18993f0 |
---|---|
71 import binascii | 71 import binascii |
72 import struct | 72 import struct |
73 import weakref | 73 import weakref |
74 | 74 |
75 from .i18n import _ | 75 from .i18n import _ |
76 from .pycompat import getattr | |
77 from .node import ( | 76 from .node import ( |
78 bin, | 77 bin, |
79 hex, | 78 hex, |
80 ) | 79 ) |
81 from . import ( | 80 from . import ( |