1637
1637
# higher level, because there either won't be anything on disk,
1638
1638
# or the thing on disk will be a file.
1639
1639
fs_encoding = osutils._fs_enc
1640
1641
if isinstance(abspath, unicode):
1641
1642
# abspath is defined as the path to pass to lstat. readlink is
1642
1643
# buggy in python < 2.6 (it doesn't encode unicode path into FS