[Python-Dev] extended print statement, uPre-PEP
Thomas Wouters
thomas@xs4all.net
Sat, 22 Jul 2000 10:32:05 +0200
On Sat, Jul 22, 2000 at 12:47:32AM -0400, Barry A. Warsaw wrote:
> I've long wanted to make the print statement able to handle
> alternative output files in a more convenient syntax. Yes you can
> rebind sys.stdout, but that is often very clumsy to get right in the
> face of exceptions.
> print @ sys.stderr, 'hello'
No offense, but I'd rather deprecate 'print' than see this. For me,
'print' is for debugging purposes only (and possibly very teensy scripts.)
--
Thomas Wouters <thomas@xs4all.net>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!