On 8/12/07, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> if you read carefully the io module exports several classes that can
> be thought of as ABCs: IOBase, RawIOBase, BufferedIOBase, TextIOBase.
> All that's lacking in these is an abstract method or two. My intent is
> to add these (if it doesn't cause circularities at boot time).
>
> I'm torn about whether exec() should take a stream. OTOH it's what 2.x
> did. OTOH appending .read() isn't so bad (unless it's an interactive
> stream, and I'm not sure I care about that use case).

I say skip the support.  I say keep 'exec' as simple as is reasonable.
 As Guido points out, reading from a file is not exactly a complex
operation.

And for those of you who are not Guido, he and I have discussed this
in bug #1762972 (http://www.python.org/sf/1762972).

-Brett
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to