ThirdParty/Send2Trash/PKG-INFO

changeset 6228
9c3fbf39ec9b
parent 5994
cf0b37d2a28d
--- a/ThirdParty/Send2Trash/PKG-INFO	Sun Apr 08 19:36:51 2018 +0200
+++ b/ThirdParty/Send2Trash/PKG-INFO	Mon Apr 09 19:47:16 2018 +0200
@@ -1,11 +1,12 @@
 Metadata-Version: 1.1
 Name: Send2Trash
-Version: 1.4.2
+Version: 1.5.0
 Summary: Send file to trash natively under Mac OS X, Windows and Linux.
 Home-page: https://github.com/hsoft/send2trash
 Author: Virgil Dupras
 Author-email: hsoft@hardcoded.net
 License: BSD License
+Description-Content-Type: UNKNOWN
 Description: ==================================================
         Send2Trash -- Send files to trash on all platforms
         ==================================================
@@ -37,7 +38,15 @@
         >>> from send2trash import send2trash
         >>> send2trash('some_file')
         
-        When there's a problem ``OSError`` is raised.
+        On Freedesktop platforms (Linux, BSD, etc.), you may not be able to efficiently
+        trash some files. In these cases, an exception ``send2trash.TrashPermissionError``
+        is raised, so that the application can handle this case. This inherits from
+        ``PermissionError`` (``OSError`` on Python 2). Specifically, this affects
+        files on a different device to the user's home directory, where the root of the
+        device does not have a ``.Trash`` directory, and we don't have permission to
+        create a ``.Trash-$UID`` directory.
+        
+        For any other problem, ``OSError`` is raised.
         
         .. _PyGObject: https://wiki.gnome.org/PyGObject
         .. _GIO: https://developer.gnome.org/gio/
@@ -47,6 +56,12 @@
         Changes
         =======
         
+        Version 1.5.0 -- 2018/02/16
+        ---------------------------
+        
+        * More specific error when failing to create XDG fallback trash directory (#20)
+        * Windows: Workaround for long paths (#23)
+        
         Version 1.4.2 -- 2017/11/17
         ---------------------------
         

eric ide

mercurial