On Jul 7, 2004, at 4:49 PM, orbitz wrote: > Terry Reedy wrote: > >> "François Pinard" <pinard at iro.umontreal.ca> wrote in message >> news:20040707183033.GA30577 at alcyon.progiciels-bpi.ca... >> >>> I perceived the introduction of `file()' as a nice cleanup in Python. >>> >> >> As a user, so did I. I like the cosistency of using file along with >> int, >> tuple, list, dict, type, (and did I leave out something), and all user >> classes as constructors of instances of themselves. > I considered more as the action being performed. I'm opening > something, in this case a file. And now I have an object which has > been opened, I can perform operations on it, and when I'm done I close > it. But you pass a string to open. Are you opening a string? No. I might agree if there was some annotation on that string that said "I am a native platform filesystem path", but there isn't. -bob -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2357 bytes Desc: not available Url : http://mail.python.org/pipermail/python-dev/attachments/20040709/42c9911b/smime.bin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4