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

[Python-Dev] Challenge about print >> None

[Python-Dev] Challenge about print >> None [Python-Dev] Challenge about print >> NoneFredrik Lundh Fredrik Lundh" <effbot@telia.com
Tue, 12 Sep 2000 16:48:11 +0200
> > Sigh.  You code doesn't work.  Quoting the PEP, from the section
> > that discusses why passing None is the same thing as passing no
> > file at all:
> > 
> >     "Note: defaulting the file argument to sys.stdout at compile time
> >     is wrong, because it doesn't work right when the caller assigns to
> >     sys.stdout and then uses tables() without specifying the file."
> 
> Of course that it doesn't work if you assign to sys.stdout. But hey,
> if you assign to sys.stdout, you know what 'sys' is, what 'sys.stdout' is,
> and you know basically everything about std files and output. Don't you?

no.  and since you're so much smarter than everyone else,
you should be able to figure out why.

followups to /dev/null, please.

</F>




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