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/007113.html below:

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

[Python-Dev] extended print statement, uPre-PEPPaul Prescod paul@prescod.net
Sat, 22 Jul 2000 09:54:17 -0500
"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.

Why not use outputfile.write directly?

print is such a hack already.

What are we trying to get at, really? What are the virtues of print,
what are the virtues of "outputfile.write" and how can we combine them?

-- 
 Paul Prescod - Not encumbered by corporate consensus
New from Computer Associates: "Software that can 'think', sold by 
marketers who choose not to."



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