A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/007094.html below:

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

[Python-Dev] extended print statement, uPre-PEPThomas 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!



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4