jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/924520 )
Change subject: [bugfix] T334378 seems solved with Python 3.12.beta ...................................................................... [bugfix] T334378 seems solved with Python 3.12.beta Bug: T334378 Change-Id: Ib345d40a981da073940fe6e7412e251743df4006 --- M pywikibot/site/_basesite.py 1 file changed, 10 insertions(+), 6 deletions(-) Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified diff --git a/pywikibot/site/_basesite.py b/pywikibot/site/_basesite.py index a5f92df..97c8d9b 100644 --- a/pywikibot/site/_basesite.py +++ b/pywikibot/site/_basesite.py @@ -6,7 +6,6 @@ # import functools import re -import sys import threading from typing import Optional from warnings import warn @@ -31,9 +30,6 @@ ) -PYTHON_312A7 = sys.version.split()[0] == '3.12.0a7' # T334378 workaround - - class BaseSite(ComparableMixin): """Site methods that are independent of the communication interface.""" @@ -190,8 +186,6 @@ def __getattr__(self, attr): """Delegate undefined methods calls to the Family object.""" - if PYTHON_312A7: # T334378 workaround - print(end='') # noqa: T001, T201 try: method = getattr(self.family, attr) if not callable(method): -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/924520 To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: Ib345d40a981da073940fe6e7412e251743df4006 Gerrit-Change-Number: 924520 Gerrit-PatchSet: 2 Gerrit-Owner: Xqt <i...@gno.de> Gerrit-Reviewer: Xqt <i...@gno.de> Gerrit-Reviewer: jenkins-bot Gerrit-MessageType: merged
_______________________________________________ Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org