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

Aahz aahz at pythoncraft.com
Fri May 18 04:56:52 CEST 2007


On Thu, May 17, 2007, Guido van Rossum 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.

My initial take was -1, but now that I see that the existing tutorial introduces modules before it discusses files, I'm only -0.

Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/

"Look, it's your affair if you want to play with five people, but don't go calling it doubles." --John Cleese anticipates Usenet



More information about the Python-3000 mailing list