Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Lib/macpath.py

    r2 r391  
    207207    for c in components[1:]:
    208208        path = join(path, c)
    209         path = Carbon.File.FSResolveAliasFile(path, 1)[0].as_pathname()
    210     return path
    211 
    212 supports_unicode_filenames = False
     209        try:
     210            path = Carbon.File.FSResolveAliasFile(path, 1)[0].as_pathname()
     211        except Carbon.File.Error:
     212            pass
     213    return path
     214
     215supports_unicode_filenames = True
Note: See TracChangeset for help on using the changeset viewer.