Mark Mc Mahon wrote: > Should the path class implement an __eq__ method that might do some of > the following things: > - Get the absolute path of both self and the other path
I don't think that any path operations should implicitly touch the file system like this. The paths may not represent real files or may be for a system other than the one the program is running on. > - normcase both Not sure about this one either. When dealing with remote file systems, it can be hard to know whether a path will be interpreted as case-sensitive or not. This can be a problem even with local filesystems, e.g. on MacOSX where you can have both HFS (case-insensitive) and Unix (case-sensitive) filesystems mounted. -- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | Carpe post meridiam! | Christchurch, New Zealand | (I'm not a morning person.) | [EMAIL PROTECTED] +--------------------------------------+ _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com