[Python-3000] IO __all__

Benjamin Peterson musiccomposition at gmail.com
Wed Apr 2 04:36:37 CEST 2008


On Tue, Apr 1, 2008 at 6:43 PM, Guido van Rossum <guido at python.org> wrote:

> Well, it *is* part of the public interface of io.py, and it *is* the
> implementation of the built-in open() function. So I don't think this
> should be changed. The module's name is so short that I hope people
> won't import * from it.

Ok. It just seems to me to be an accident waiting to happen which we could
easily avoid.

>
>
> On Tue, Apr 1, 2008 at 1:46 PM, Benjamin Peterson
> <musiccomposition at gmail.com> wrote:
> > Is there a reason io.open is in the __all__? It seems to me it would
> > redundant and confusing to import a builtin.
>
> --
> --Guido van Rossum (home page: http://www.python.org/~guido/<http://www.python.org/%7Eguido/>
> )
>



-- 
Cheers,
Benjamin Peterson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000/attachments/20080401/e0c98bb9/attachment.htm 


More information about the Python-3000 mailing list