Gaurvi_Thapa created this task. Gaurvi_Thapa added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION While browsing the Pywikibot source, I noticed that demoserver.py mentions Python 2.6+ compatibility and imports `SocketServer`, which is the Python 2 module name. In Python 3, this module is renamed to `socketserver`. Since Pywikibot is now primarily a Python 3 project, I wanted to clarify whether: - this file is intentionally kept for Python 2 compatibility, or - it should be modernized (for example using the Python 3 import or a dual-import pattern). I didn’t want to make any code change without confirming the intended direction first. TASK DETAIL https://phabricator.wikimedia.org/T415557 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
