Mercurial > hg
comparison mercurial/utils/procutil.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 | a9faacdc5943 |
children | def6f1a4604b |
comparison
equal
deleted
inserted
replaced
50928:d718eddf01d9 | 50929:18c8c18993f0 |
---|---|
22 BinaryIO, | 22 BinaryIO, |
23 ) | 23 ) |
24 | 24 |
25 from ..i18n import _ | 25 from ..i18n import _ |
26 from ..pycompat import ( | 26 from ..pycompat import ( |
27 getattr, | |
28 open, | 27 open, |
29 ) | 28 ) |
30 | 29 |
31 from .. import ( | 30 from .. import ( |
32 encoding, | 31 encoding, |