[New-bugs-announce] [issue7759] mhlib fails on Btrfs filesystem (test_mhlib failure)

Neil Schemenauer report at bugs.python.org
Fri Jan 22 23:22:14 CET 2010


New submission from Neil Schemenauer <nas-python at arctrix.com>:

Btrfs does not maintain a link count for directories (MacOS does the same I think). That confuses mhlib.py because it uses os.stat().st_nlinks as an optimization.

The attached patch removes the optimization and make test_mhlib pass on Btrfs (and probably HFS+) filesystems.

----------
files: mhlib_nlinks.txt
messages: 98169
nosy: nascheme
priority: normal
severity: normal
status: open
title: mhlib fails on Btrfs filesystem (test_mhlib failure)
type: behavior
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file15975/mhlib_nlinks.txt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7759>
_______________________________________


More information about the New-bugs-announce mailing list