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.
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| Replace tools.cached with functools.cached_property | Dumbledore | pywikibot/core | master | +59 -56 | |
| Replace tools.cached with functools.cached_property | Dumbledore | pywikibot/core | master | +43 -39 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T379140 Replace some tools.cached properties with functools.cached_property | |||
| Resolved | Xqt | T378893 Drop support for Python 3.7 | |||
| Resolved | Xqt | T379227 Show a warning if Pywikibot is running with Python 3.7 and below |
Event Timeline
Comment Actions
Change #1210023 had a related patch set uploaded (by Dumbledore; author: Dumbledore):
[pywikibot/core@master] Replace tools.cached with functools.cached_property
Comment Actions
Change #1210023 abandoned by Dumbledore:
[pywikibot/core@master] Replace tools.cached with functools.cached_property
Comment Actions
Change #1212182 had a related patch set uploaded (by Dumbledore; author: Dumbledore):
[pywikibot/core@master] Replace tools.cached with functools.cached_property
Comment Actions
Change #1212182 abandoned by Xqt:
[pywikibot/core@master] Replace tools.cached with functools.cached_property
Reason:
no response for 7 months