>>> import wikipedia as py exception UnsupportedOperation('fileno',) while fixing up sys.stdout and sys.stderr >>>
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
[FIX] Win32 UI: Ignore fileno if not supported | pywikibot/compat | master | +68 -56 |
Related Objects
Event Timeline
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?
In Pywikibot there has been recently a patch by me: dd808ca6e0a5eaa25c10316041aa2f975a94df5a Might be related to your issue.
Pywikibot has two versions: Compat and Core. This task was filed about the older version, called Pywikibot-compat, which is not under active development anymore. Hence I'm lowering the priority of this task to reflect the reality. Unfortunately, the Pywikibot team does not have the manpower to retest every single bug report / feature request against the (maintained) Pywikibot code base. Furthermore, the code base of Pywikibot-Compat has changed a lot compared to the code base of Pywikibot-Core so there is a chance that the problem described in this task might not exist anymore. Please help: Unfortunately manpower is limited and does not allow testing every single reported task again. If you have time and interest in Pywikibot, please upgrade to Pywikibot-Core and add a comment to this task if the problem in this task still happens in Pywikibot-Core (or directly edit the task by removing the Pywikibot-compat project and adding the Pywikibot project to this task). To learn more about Pywikibot and to get involved in its development, please check out https://www.mediawiki.org/wiki/Manual:Pywikibot/Development Thank you for your understanding.
Change 230529 had a related patch set uploaded (by Xqt):
[FIX] Win32 UI: Ignore fileno if not supported