Page MenuHomePhabricator

Replace some tools.cached properties with functools.cached_property
Open, Needs TriagePublic

Description

Replace some tools.cached properties with functools.cached_property which is shipped with Python 3.8 but be aware that the internal cache attribute is gone then.

Event Timeline

Change #1210023 had a related patch set uploaded (by Dumbledore; author: Dumbledore):

[pywikibot/core@master] Replace tools.cached with functools.cached_property

https://gerrit.wikimedia.org/r/1210023

Change #1210023 abandoned by Dumbledore:

[pywikibot/core@master] Replace tools.cached with functools.cached_property

https://gerrit.wikimedia.org/r/1210023

Change #1212182 had a related patch set uploaded (by Dumbledore; author: Dumbledore):

[pywikibot/core@master] Replace tools.cached with functools.cached_property

https://gerrit.wikimedia.org/r/1212182