Georg Brandl a écrit : > Baptiste Carvello schrieb: >> 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 ? > > They can still put "import sys, os, io" in their PYTHONSTARTUP file. > Thanks, I had forgotten that possibility.
> Or use IPython. > Well, I have to say that I'm a bit worried with a current trend on python-dev, to answer any question about interactive use with pointing to IPython. I *love* IPython. I'm using it a lot. But sometimes, because of the longer startup time, or because you want to stay close to "normal" python, you prefer to use the standard interpreter. And I believe this should really stay an *supported* use. Of course, on this specific case, I understand a trade-off has to be made. Baptiste _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com