thx for that tip, it worked as predicted. nevertheless it seems to be an error if some function/method uses the 'sys.stdout' default value but *not* the 'print >>out' syntax. and this in turn means that my simple grep error finder doesn't help too much, you still have to look at the code of the matching functions/methods.