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

Raymond Hettinger python at rcn.com
Sun May 20 00:13:10 CEST 2007


From: "Andrew Koenig" <ark-mlist at att.net>
> (I'm feeling slightly pedantic today, so I want to say that the proposal
> doesn't make it any easier to identify modules that engage in I/O -- it
> makes it easier to identify modules that assuredly do not engage in I/O.

u = urllib.urlopen('http://www.python.org')
s =  shelve.open('persistantmap.shl')
logging.basicConfig('events.log')


Raymond


More information about the Python-3000 mailing list