[Python-Dev] File Object Copy

Barry A. Warsaw bwarsaw@beopen.com
Wed, 12 Jul 2000 09:05:40 -0400 (EDT)

>>>>> "GvR" == Guido van Rossum <guido@beopen.com> writes:

    >>  Of course -- that's why I think most code should use file-like
    >> objects.

    GvR> Agreed.  The quoted examples are all kludges in my book.
    GvR> (The API designer initially accepted only a filename, then
    GvR> realized this was a bad choice, and fixed it in a backwards
    GvR> compatible way instead of fixing it right.  There are just as
    GvR> many examples where it's done right, I just can't think of
    GvR> any. :-)