This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ThomasH
Recipients ThomasH, benjamin.peterson, georg.brandl, orsenthil
Date 2008-08-08.07:18:19
SpamBayes Score 1.997476e-06
Marked as misclassified No
Message-id <de6ef73d0808080018w46f49d48k8bb1dde7f3e967bf@mail.gmail.com>
In-reply-to <20080808000411.GE3370@gmail.com>
Content
On Fri, Aug 8, 2008 at 2:04 AM, Senthil <report@bugs.python.org> wrote:
>
> Senthil <orsenthil@gmail.com> added the comment:
>
> I agree with Benjamin on this issue, describing what is a "File like Object" is
> so much un-needed in Python and especially at urlopen function. Users have been
> able to understand and use it properly from a long time.

If only it were more file-like. But, oh, it adds info() and geturl()
methods which you have to string-search for to find the proper
description in the prose. And, ah, the size argument of the read()
method doesn't quite behave like on other file-like objects, but there
you go. And, uh, by the way, you really can't use it in places "where
a true built-in file object is required" (and I'm sure everybody knows
what that means). - So much for file-like.

I have no doubt that people can get along with the description as it
is, because that's what they always try. My main point was that it is
"less approachable and breaks the usual format of a class
documentation". But I see there is much agreement in keeping the
status quo.
History
Date User Action Args
2008-08-08 07:18:21ThomasHsetrecipients: + ThomasH, georg.brandl, orsenthil, benjamin.peterson
2008-08-08 07:18:20ThomasHlinkissue3429 messages
2008-08-08 07:18:19ThomasHcreate