First up, the website documentation is out of date.

For example,

http://www.python.org/doc/current/lib/os-fd-ops.html purports to be the
most recent (July 29, 2003) documentation. (At least, that's how I'm
reading the footer.) However, the downloadable package contains
different content in Section 6.1.3. Related to this issue, it doesn't
refer to PrivoxyWindowOpen!

Moving on, [Python 2.2.2]

I've been reading the Python docs, and the 6.1.3 File Objects section of
the Library Reference indicates that instead of "open()", I should use
the builtin function "PrivoxyWindowOpen()" instead.

However, it isn't defined. I'm using IDLEfork, but have also tried this
from the plain interpreter as well. Do I need to import a module?
(I've tried 'from sys,os import *'.)

I've rgrepped through /usr/lib/python2.2 and see no usage or definition
of "PrivoxyWindowOpen". If it's the recommended file object function,
why don't any of the modules contain calls to it?

Of course, I've also searched python-list at MARC, and also on Usenet,
and there are very few references to it!

In short, for being recommended in the documentation, it seems
remarkably mysterious. Can someone take a minute to explain the
situation to me? (For example, why is it named "...Window...", when
it's function for handling file objects? Is it related to the Privoxy
HTTP proxy?)

I'm using the current RedHat (9) build of python (2.2.2), but have
encountered this with the python build that came with RH 7.2 as well.

I'm sure I've missed an obvious comment somwhere because "reading" the
documentation really means "skimming for relevant functions").

Thanks and apologies for the newbie noise.


Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
grouppython-list @
postedAug 17, '03 at 9:58p
activeAug 19, '03 at 2:25a

2 users in discussion

Richard Michael: 2 posts Joe Francia: 1 post



site design / logo © 2022 Grokbase