[issue1713] posixpath.ismount() claims symlink to a mountpoint is a mountpoint.

2008-01-04 Thread Christian Heimes
Christian Heimes added the comment: Fixed in r59709 (trunk) and r59710 (2.5) -- resolution: accepted -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue1713] posixpath.ismount() claims symlink to a mountpoint is a mountpoint.

2008-01-01 Thread Guido van Rossum
Guido van Rossum added the comment: Go ahead then! -- assignee: -> tiran nosy: +gvanrossum resolution: -> accepted __ Tracker <[EMAIL PROTECTED]> __ _

[issue1713] posixpath.ismount() claims symlink to a mountpoint is a mountpoint.

2007-12-31 Thread Christian Heimes
Christian Heimes added the comment: A fix for the problem is easy. One has to replace os.stat() with os.lstat(): def ismount(path): """Test whether a path is a mount point""" try: s1 = os.stat(path) s2 = os.stat(join(path, '..')) except os.error: return False

[issue1713] posixpath.ismount() claims symlink to a mountpoint is a mountpoint.

2007-12-30 Thread Carl Drougge
New submission from Carl Drougge: Sorry, this happened to me in /tmp, where it's actually true, except I don't expect symlinks to be considered mountpoints, so I still consider it a bug. Should have tested more though. -- title: posixpath.ismount() claims symlink to .. is mountpoint. -