[issue18116] getpass.getpass() triggers ResourceWarning
Vajrasky Kok
report at bugs.python.org
Thu Jun 6 12:40:41 CEST 2013
Vajrasky Kok added the comment:
So the correct fix should be:
1. Make sure we can open /dev/tty in non-binary mode,
2. We can write string to /dev/tty,
3. Close the leak if we can not open /dev/tty.
Is it?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18116>
_______________________________________
More information about the Python-bugs-list
mailing list