Page MenuHomePhabricator

Replace some tools.cached properties with functools.cached_property
Open, LowPublic

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

Xqt added a subscriber: Dumbledore.

Change #1212182 abandoned by Xqt:

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

Reason:

no response for 7 months

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

Xqt triaged this task as Low priority.Jul 19 2026, 5:40 PM