[Python-Dev] extended print statement, uPre-PEP

Peter Schneider-Kamp peter@schneider-kamp.de
Sun, 23 Jul 2000 09:13:19 +0000

"Barry A. Warsaw" wrote:
> print >> sys.stdout, 'post to', listname, 'from', sender, 'size=', len(msg)

  I saw `cout' being shifted "Hello world" times to the left and
  stopped right there.
                                                    -- Steve Gonedes

BTW: I think "print >> sys.stdout" is counter-intuitive, as it looks
     like something is flowing from print to sys.stdout. This would
     confuse C++-aware folk heavily.

Peter Schneider-Kamp          ++47-7388-7331
Herman Krags veg 51-11        mailto:peter@schneider-kamp.de
N-7050 Trondheim              http://schneider-kamp.de