os.stat('/') now works and returns a mostly-empty tuple. Really all that is useful is the mode which tells that it's a directory.