Dirk Loss wrote:
> I want to have tab completion in my program for interactive input.
> Using readline and rlcompleter this works nicely. But I also have
> to catch and modify all "print" output, so I redirect sys.stdout
> to a custom file-like object. The problem is: After the
> redirection, readline support seems suddenly disabled. Why?

readline module applies its autocompletion functions to (and only
to) sys.stdout.

Regards,


Björn

-- 
BOFH excuse #350:

paradigm shift...without a clutch

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to