If you do a cvs annotate on Misc/NEWS, you'll find that Guido gets the blame, in rev 1.255, for this blurb: """ - The builtin file type can be subclassed now. In the usual pattern, "file" is the name of the builtin type, and file() is a new builtin constructor, with the same signature as the builtin open() function. file() is now the preferred way to open a file. """ However, just as I finished pasting that in, he used the time machine to shift the blame on me, in rev 1.242. My memory was also altered, so that I seem to really believe that was my understanding at the time. But I usually continued to use open() anyway, proving something or other. I'm still unclear about what (if anything) file() should be used for.
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