[Python-3000] Radical idea: remove built-in open (require import io)

Guido van Rossum guido at python.org
Fri May 18 20:10:13 CEST 2007

On 5/18/07, Baptiste Carvello <baptiste13 at altern.org> wrote:
> Guido van Rossum a écrit :
> > Do people think it would be too radical if the built-in open()
> > function was removed altogether, requiring all code that opens files
> > to import the io module first? This would make it easier to identify
> > modules that engage in I/O.
> -1
> Will someone think of the interactive users ?

What kind of interactive use are you making of open()?

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-3000 mailing list