[Python-3000] Radical idea: remove built-in open (requireimport io) (original) (raw)
Robert Brewer fumanchu at amor.org
Fri May 18 18:35:30 CEST 2007
- Previous message: [Python-3000] Radical idea: remove built-in open (require import io)
- Next message: [Python-3000] Radical idea: remove built-in open (requireimport io)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
I must be dense, because I don't see how the proposal "makes it easier to identify modules that engage in I/O". Who's supposed to be doing the identification and when? And how will it not be fooled by import and plain 'ol cross-module references?
Robert Brewer System Architect Amor Ministries fumanchu at amor.org
- Previous message: [Python-3000] Radical idea: remove built-in open (require import io)
- Next message: [Python-3000] Radical idea: remove built-in open (requireimport io)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]