PyDev appears to buffer sys.stout and sys.stderr so
that they aren't displayed in chronological order, even
though they end up in the same console window
(suggesting chronological order).
For example, run the script
print >>sys.stdout, "Text 1"
print >>sys.stderr, "Text 2"
In the console window, I get
The lines should be reversed.