Page MenuHomePhabricator

Password inputs in Python 3.4.2 show the question after the password is entered
Closed, ResolvedPublic

Description

In Python 3.4.2 when pywikibot.input(…, password=True) is done, it doesn't output the text immediately but only after the user has entered something:

>>> import pywikibot
>>> x = pywikibot.input('AA', password=True)

AA >>> x
'Ha'
>>>

In comparison Python 2.7.8:

>>> import pywikibot
>>> x =pywikibot.input('AA', password=True)
AA 
>>> x
u'Ha'

Details

Related Gerrit Patches:

Event Timeline

XZise created this task.Feb 21 2015, 12:11 PM
XZise raised the priority of this task from to Needs Triage.
XZise updated the task description. (Show Details)
XZise added a project: Pywikibot.
XZise added a subscriber: XZise.
Restricted Application added subscribers: Aklapper, Unknown Object (MLST). · View Herald TranscriptFeb 21 2015, 12:11 PM

Change 192206 had a related patch set uploaded (by XZise):
[FIX] UI: Ensure printing message before querying

https://gerrit.wikimedia.org/r/192206

Patch-For-Review

Change 192206 merged by jenkins-bot:
[FIX] UI: Ensure printing message before querying

https://gerrit.wikimedia.org/r/192206

jayvdb closed this task as Resolved.May 2 2015, 10:55 PM
jayvdb claimed this task.
XZise claimed this task.May 2 2015, 10:56 PM
XZise set Security to None.