Xqt created this task. Xqt added a subscriber: Xqt. Xqt added a project: pywikibot-compat. Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
import wikipedia as py
exception UnsupportedOperation('fileno',) while fixing up sys.stdout and sys.stderr
TASK DETAIL https://phabricator.wikimedia.org/T99368
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt Cc: pywikipedia-bugs, Xqt, Aklapper, Anshoe
Xqt edited the task description. Xqt set Security to None.
TASK DETAIL https://phabricator.wikimedia.org/T99368
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt Cc: pywikipedia-bugs, Xqt, Aklapper, Anshoe
Xqt added a comment.
I figured out that this error occured in line 88 of userinterfaces/win32_unicode.py Seems that fileno exists but isn't supported. I never seen this bug bevor? Is it a py 2.7.9 behaviour?
TASK DETAIL https://phabricator.wikimedia.org/T99368
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt Cc: pywikipedia-bugs, Xqt, Aklapper, Anshoe
XZise added a subscriber: XZise. XZise added a comment.
In https://phabricator.wikimedia.org/tag/pywikibot-core/ there has been recently a patch by me: https://phabricator.wikimedia.org/rPWBCdd808ca6e0a5eaa25c10316041aa2f975a94d... Might be related to your issue.
TASK DETAIL https://phabricator.wikimedia.org/T99368
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: XZise, Xqt, Aklapper, Anshoe, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org