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/2001-February/012701.html below:

[Python-Dev] fp vs. fd

[Python-Dev] fp vs. fd [Python-Dev] fp vs. fdEric S. Raymond esr@snark.thyrsus.com
Tue, 6 Feb 2001 14:06:00 -0500
There are a number of places in the Python library that require a
numeric file descriptor, rather than a file object.  This complicates
code slightly and (IMO) breaches the wrapper around the file-object
abstraction (which Guido says is only supposed to depend on
stdio-level stuff).

Are there design reasons for this, or is it historical accident?

If the latter, I'll go through and fix these to accept either an fd
or an fp.  And fix the docs, too.
-- 
		<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>

Non-cooperation with evil is as much a duty as cooperation with good.
	-- Mohandas Gandhi



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