Carl Banks wrote:
I don't remember if the idea of modifying open to accept path objects came up.
It wouldn't just be open() that people would want modified -- it would be every other function that takes a pathname as well. I seem to recall another point of contention was whether path objects should have methods for accessing the file system (opening files, renaming them, etc.) or whether it should confine itself to representing and manipulating pathnames. In any case, introducing any kind of path object at this late stage of the language's development would result in More Than One Way to represent pathnames, with neither of them being the obvious choice. -- Greg -- http://mail.python.org/mailman/listinfo/python-list