Vajrasky Kok added the comment:

Based on the input from Benjamin Peterson, I grab encoding from the os module 
in the getpass module.

I put some test as well.

Until the whole function is rewritten, I hope this patch will suffice and do 
the job properly.

----------
Added file: http://bugs.python.org/file30463/getpass_tty_with_test.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18116>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to