libgit2 / pygit2

Python bindings for libgit2
https://www.pygit2.org/
Other
1.59k stars 383 forks source link

Use built-in functools.cached_property in py3.8+ #1066

Closed mgorny closed 3 years ago

mgorny commented 3 years ago

Python 3.8+ supplies the cached-property functionality in functools module, so use that instead of pulling in the backport package whenever possible.

jdavid commented 3 years ago

Thanks @mgorny , I've picked the first commit, but implemented a different solution for the second commit.

mgorny commented 3 years ago

Thanks!