NullPointer added a comment.
In T259991#6387080 <https://phabricator.wikimedia.org/T259991#6387080>, @Xqt wrote: > In T259991#6387043 <https://phabricator.wikimedia.org/T259991#6387043>, @NullPointer wrote: > >> Actually, Python 2.7 to 3 have some major syntax changes, for example, stdin is read through the `input()` function, and XML-RPC lib must be changed for backwards compatibility. > > input() is not a different syntax and that library is not used by the framework. My idea is to have a simple CI check to validate that both of these two scripts run still with Python 2.7 or 3.4. Any different behaviour of Python implementations does not care because a version check is made in setup.py as well as in pwb.py very early. I would like you to see what is it like if I use this in python 2.7.16. Python3 input cannot accept scripts, but python 2.7.16 accepts scripts. F32179768: Screen Shot 2020-08-16 at 1.25.39 PM.png <https://phabricator.wikimedia.org/F32179768> TASK DETAIL https://phabricator.wikimedia.org/T259991 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: NullPointer Cc: NullPointer, Aklapper, pywikibot-bugs-list, Dvorapa, Xqt, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs