[issue25834] getpass falls back when sys.stdin is changed

2021-12-11 Thread Irit Katriel
Irit Katriel added the comment: Thanks, I'll close this and we can revisit if a new use case turns up. -- resolution: -> later stage: -> resolved status: open -> closed ___ Python tracker

[issue25834] getpass falls back when sys.stdin is changed

2021-12-11 Thread Adam Bartoš
Adam Bartoš added the comment: Sorry, I don't. But my use case is not relevant any more since my package was a workround for problems with entering Unicode interactively on Windows, and these problems were resolved in Python since then. -- ___

[issue25834] getpass falls back when sys.stdin is changed

2021-12-10 Thread Irit Katriel
Irit Katriel added the comment: Adam, do you have a suggestion what the check should be? -- nosy: +iritkatriel versions: +Python 3.11 -Python 3.5, Python 3.6 ___ Python tracker

[issue25834] getpass falls back when sys.stdin is changed

2015-12-10 Thread Adam Bartoš
New submission from Adam Bartoš: There is a check in Lib/getpass.py:win_getpass that causes a fallback version to be used when `sys.stdin` is changed. I change `sys.stdin` in my `win_unicode_console` package, and in this situation there is no reason to use the fallback version (see