getpass and IDEs

Andrew none at none.com
Fri Feb 25 15:21:37 EST 2011


On Fri, 25 Feb 2011 20:27:42 +0100, Wolfgang Rohdewald wrote:

> On Freitag 25 Februar 2011, Andrew wrote:

>> But I'm curious what's different
>> about IDE environments that makes it impossible to suppress
>> output on them, and if there's anything that might be done
>> about this.
> 
> I'd say your IDE redirects stdout/stderr so it can show
> output within the IDE
> 
> http://docs.python.org/library/getpass.html
> reading python docs lets me believe you are using
> python pre 2.6

3.2. Though maybe you're right anyway. Does IDLE redirect in that
fashion? Why would that interfere with getpass? 

I'm less concerned about how to get around it as with figuring out why
it does it. More curiosity than practicality. 

--

Andrew



More information about the Python-list mailing list