strange interaction between open and cwd

Gregory Ewing greg.ewing at canterbury.ac.nz
Tue May 4 04:08:36 EDT 2010


Grant Edwards wrote:

> except that Python objects can form a generalized graph, and Unix
> filesystems are constrained to be a tree.

Actually I believe that root is allowed to create arbitrary
hard links to directories in Unix, so it's possible to turn
the file system in to a general graph. It's highly
unrecommended, though, because it confuses the heck out of
programs that recursively traverse directories (which is
why only root is allowed to do it).

-- 
Greg



More information about the Python-list mailing list