[Mailman-Developers] print >> sys.stderr does not compile

Fil fil@rezo.net
Tue, 20 Feb 2001 10:14:49 +0100


Dear mailman-coders

You recently changed all calls like
    write('(locked)', file=sys.stderr)
to
    print >> sys.stderr, _('(locked)')

but the latter will not compile on my machine. Am I missing something?

Here's what I get when I call almost every program in mailman/bin:
> ./withlist 
  File "./withlist", line 128
    print >> sys.stderr, _(__doc__)
           ^
SyntaxError: invalid syntax




-- Fil