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'
2021-05-26 17:22:26 +02:00
..
IFileOperationProgressSink.py Add IFileOperationProgressSink 2021-03-02 19:23:43 -06:00
__init__.py Fix some flake8 errors and cleanup 2020-06-18 21:47:06 -05:00
__main__.py Create __main__.py (Fixes #15) (#38) 2020-05-27 07:52:00 -04:00
compat.py Fix some flake8 errors and cleanup 2020-06-18 21:47:06 -05:00
exceptions.py Cleanup flake8 issues 2021-03-01 23:44:03 -06:00
plat_gio.py Windows Performance Improvement & Multi-Item support (#43) 2020-06-03 12:49:41 -04:00
plat_osx.py Change conditional for macos pyobjc usage 2021-05-14 21:40:16 -05:00
plat_osx_ctypes.py Add initial pyobjc version for macOS 2021-04-13 22:36:10 -05:00
plat_osx_pyobjc.py Add initial pyobjc version for macOS 2021-04-13 22:36:10 -05:00
plat_other.py Cleanup flake8 issues 2021-03-01 23:44:03 -06:00
plat_win.py Fix some flake8 errors and cleanup 2020-06-18 21:47:06 -05:00
plat_win_legacy.py Windows legacy: fix handling of UNC names 2021-05-26 17:22:26 +02:00
plat_win_modern.py Add IFileOperationProgressSink 2021-03-02 19:23:43 -06:00