Dirk Loss wrote: > Bjoern Schliessmann wrote: >> readline module applies its autocompletion functions to (and only >> to) sys.stdout. > > I see. Then I guess I'll have to avoid redirecting sys.stdout and > come up with some kind of workaround instead.
Just use a "central" function for printing output. Inside this function, you can redirect the output wherever you wish without touching sys.stdout. Regards, Björn -- BOFH excuse #226: A star wars satellite accidently blew up the WAN. -- http://mail.python.org/mailman/listinfo/python-list