On Mon, Apr 22, 2013 at 11:05 AM, Steven D'Aprano <steve+comp.lang.python at pearwood.info> wrote: > I cannot confirm that behaviour. It works fine for me. I should mention: Under Linux, there's no \r, so -u or no -u, the program will work fine. ChrisA