You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
send2trash/send2trash
Mickaël Schoentgen 436686bf0f Windows legacy: fix handling of UNC names
The legacy implementation was not handling UNC names properly:

  Traceback (most recent call last):
    File "check.py", line 6, in <module>
      send2trash(str(file))
    File "\...\plat_win_legacy.py", line 79, in send2trash
      paths = [get_short_path_name(path) for path in paths]
    File "\...\plat_win_legacy.py", line 79, in <listcomp>
      paths = [get_short_path_name(path) for path in paths]
    File "\...\plat_win_legacy.py", line 62, in get_short_path_name
      raise WindowsError(err_no, FormatError(err_no), long_name[4:])
  OSError: [Errno 123] La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte.: '\\\\SERVER\\folder\\file.txt'
3 years ago
..
IFileOperationProgressSink.py Add IFileOperationProgressSink 3 years ago
__init__.py Fix some flake8 errors and cleanup 4 years ago
__main__.py Create __main__.py (Fixes #15) (#38) 4 years ago
compat.py Fix some flake8 errors and cleanup 4 years ago
exceptions.py Cleanup flake8 issues 3 years ago
plat_gio.py Windows Performance Improvement & Multi-Item support (#43) 4 years ago
plat_osx.py Change conditional for macos pyobjc usage 3 years ago
plat_osx_ctypes.py Add initial pyobjc version for macOS 3 years ago
plat_osx_pyobjc.py Add initial pyobjc version for macOS 3 years ago
plat_other.py Cleanup flake8 issues 3 years ago
plat_win.py Fix some flake8 errors and cleanup 4 years ago
plat_win_legacy.py Windows legacy: fix handling of UNC names 3 years ago
plat_win_modern.py Add IFileOperationProgressSink 3 years ago