Stefan Rank wrote: >on 26.01.2006 14:15 Paul Moore said the following: >[snip] > > >>Arguably, Path objects should always maintain an absolute path - there >>should be no such thing as a relative Path. So you would have >> >> > >you realise that one might need and/or want to represent a relative path? > > Of course, but it seems to me a relative path is a different type from an absolute path, in the same way that a timedelta is different from a datetime.
For example: * You can't open a relative path without reference to some absolute path (possibly the cwd). * You can't join two absolute paths, but you can join a relative path to another relative path, or to an absolute path. Cheers, Aaron -------------------------------------------------------------------- Aaron Bingham Senior Software Engineer Cenix BioScience GmbH -------------------------------------------------------------------- _______________________________________________ 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