Xqt created this task. Xqt added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION Move `threading.RLock` to `backports` module **Reason:** `pywikibot.threading.RLock` was introduced with T151727 <https://phabricator.wikimedia.org/T151727> to implement compat's output cache. The only reason for this derived class was to have a `locked()` method which is used in `terminal_interface_base.UI`. With Python 3.14 this `locked()` method was implemented. The additional `count` property isn't used within the framework and can surely dropped if we went back to the standard Python implementation. **Steps** - move `pywikibot.threading.RLock` and implement it for Python < 3.13 - deprecate `pywikibot.threading.RLock` - deprecate (or remove) `count` property TASK DETAIL https://phabricator.wikimedia.org/T395182 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, Hannolans, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
