Dalba created this task.
Dalba added a subscriber: Dalba.
Dalba added projects: Pywikibot-login.py, pywikibot-core.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
Python 3.4.3 win32 while using IDLE and an up-to-date version of pywikibot:
```
>> import pywikibot as pwb
>> pwb.Site('fa').login()
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
pwb.Site('fa').login()
File "E:\core\pywikibot\site.py", line 1676, in login
if loginMan.login(retry=True):
File "E:\core\pywikibot\login.py", line 232, in login
password=True)
File "E:\core\pywikibot\bot.py", line 540, in input
data = ui.input(question, password)
File "E:\core\pywikibot\userinterfaces\terminal_interface_base.py", line
212, in input
self.output(question + ' ')
File "E:\core\pywikibot\userinterfaces\terminal_interface_base.py", line
191, in output
self._print(text, targetStream)
File "E:\core\pywikibot\userinterfaces\terminal_interface_base.py", line
132, in _print
self.printColorized(text, targetStream)
File "E:\core\pywikibot\userinterfaces\terminal_interface_win32.py", line
91, in printColorized
targetStream.write(text.encode(self.encoding, 'replace'))
File "C:\Python34\lib\idlelib\PyShell.py", line 1344, in write
raise TypeError('must be str, not ' + type(s).__name__)
TypeError: must be str, not bytes
>>
```
TASK DETAIL
https://phabricator.wikimedia.org/T91921
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: Dalba
Cc: pywikipedia-bugs, Aklapper, Dalba, jayvdb