* 2011-07-29T10:22:04-07:00 * <rantingr...@gmail.com> wrote: > * New path module will ONLY support one path sep! There is NO reason > to support more than one.
Pathnames and the separator for pathname components should be abstracted away, to a pathname object. This pathname object could have a "path" or "directory" slot which is a list of directory components (strings). Then there would be method like "to_namestring" which converts a pathname object to native pathname string. It takes care of any platform-specific stuff like pathname component separators. Of course "to_pathname" method is needed too. It converts system's native pathname string to a pathname object. -- http://mail.python.org/mailman/listinfo/python-list