XZise added a subscriber: XZise. XZise added a comment.
I can't reproduce it in 2.6.9 and 2.7.8 but nevertheless the patch looks correct to me: It should happen to all scripts which use a Unicode docstring (docstrings which start with u…). I guess in later versions unicode().decode() is a noop?
TASK DETAIL https://phabricator.wikimedia.org/T78519
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: Aklapper, Xqt, jayvdb, XZise, pywikipedia-bugs