https://bugzilla.wikimedia.org/show_bug.cgi?id=57838
Web browser: --- Bug ID: 57838 Summary: Syntax error in win32_unicode.py Product: Pywikibot Version: core (2.0) Hardware: PC OS: All Status: NEW Severity: major Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: info@gno.de Classification: Unclassified Mobile Platform: ---
C:\pwb\core>pwb.py featured -fromall -lang:nl -good -featured WARNING: Configuration variable 'account_global' is defined but unknown. Misspelled? WARNING: Configuration variable 'use_diskcache' is defined but unknown. Misspelled? WARNING: Configuration variable 'notify_unflagged_bot' is defined but unknown. Misspelled? Traceback (most recent call last): File "C:\pwb\core\pwb.py", line 108, in <module> tryimport_pwb() File "C:\pwb\core\pwb.py", line 30, in tryimport_pwb import pywikibot File "C:\pwb\core\pywikibot__init__.py", line 31, in <module> from pywikibot.bot import * File "C:\pwb\core\pywikibot\bot.py", line 43, in <module> ui = uiModule.UI() File "C:\pwb\core\pywikibot\userinterfaces\terminal_interface_win32.py", line 51, in __init__ from .win32_unicode import stdin, stdout, stderr, argv File "C:\pwb\core\pywikibot\userinterfaces\win32_unicode.py", line 45 print(isinstance(message, str) and message or repr(message), file=original_s tderr) ^ SyntaxError: invalid syntax
Bug occured since https://gerrit.wikimedia.org/r/#/c/97876/