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

Chris Monson shiblon at gmail.com
Fri May 18 02:20:12 CEST 2007

Would other IO builtins also move, like (formerly raw_) input and
print?  What about the file type?

it seems to me that if the rationale is to make use of IO
identifiable, then all IO functions would have to move into the io
module.  What am I missing?

- C

On 5/17/07, Guido van Rossum <guido at python.org> wrote:
> 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.
> --
> --Guido van Rossum (home page: http://www.python.org/~guido/)
> _______________________________________________
> Python-3000 mailing list
> Python-3000 at python.org
> http://mail.python.org/mailman/listinfo/python-3000
> Unsubscribe:
> http://mail.python.org/mailman/options/python-3000/shiblon%40gmail.com

More information about the Python-3000 mailing list