[ANN] Python 2.4 Quick Reference available

Nick Coghlan ncoghlan at iinet.net.au
Sun Feb 20 09:03:57 EST 2005


George Sakkis wrote:
> Still the word "open" sounds too general if the meaning is "open a file-like object"; OTOH this
> could be a good thing if in some future version "open('http://www.python.org')" was e.g. an alias to
> urllib2.urlopen.

Exactly the reason the BDFL gave for preferring 'open' - it may be extended to 
opening other types of objects than files.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at email.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://boredomandlaziness.skystorm.net



More information about the Python-list mailing list