Senthil Kumaran <orsent...@gmail.com> added the comment:

I fail to see the bug here. Python's getpass.py is mimicing the                 
                                                                                
       
behavior of getpass.c                                                           
                                                                                
       
                                                                                
                                                                                
       
Your patch tries to remove, termios.ISIG , but it was specifically              
                                                                                
       
added so that getpass.py is closer to the POSIX's getpass                       
                                                                                
       
                                                                                
                                                                                
       
http://mail.python.org/pipermail/python-dev/2003-December/040579.html           
                                                                                
       
                                                                                
                                                                                
       
Also, try an example program which uses getpass.c                               
                                                                                
       
http://www.koders.com/c/fidFB8B9443522DCC3CC53ECCC0FFED861FE898F3A1.aspx?s=%22unknown%22
                                                                               
                                                                                
                                                                                
       
And try ctrl-c and ctrl-z for those, the behavior is same what you              
                                                                                
       
decribe in this bug-report.                                                     
                                                                                
       
                                                                                
                                                                                
       
So, having the function behavior sames as POSIX one is really not a             
                                                                                
       
bug and just a change from the previous behavior. Would you agree to            
                                                                                
       
this stance and shall we close the bug?

----------
nosy: +orsenthil

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

Reply via email to