Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '16,': 0.03; 'algorithm': 0.04; 'subject:Python': 0.06; 'subject: -- ': 0.07; 'option,': 0.09; 'cc:addr:python-list': 0.11; 'random': 0.14; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'infinity': 0.16; 'stuff.': 0.16; 'subject:Move': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'fairly': 0.24; 'cc:2**0': 0.24; "i've": 0.25; '15,': 0.26; 'header:In-Reply- To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'file': 0.32; 'probably': 0.32; 'fri,': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'subject:?': 0.36; 'itself': 0.39; 'delete': 0.39; 'sure': 0.39; 'either': 0.39; 'remove': 0.60; 'kindly': 0.61; 'back': 0.62; 'grow': 0.77; '2015': 0.84; 'invites': 0.91; 'subject:Survey': 0.91; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=Gl5b+agYlcHdeCzvclE8G8/mPGMzJbrQNRIQOvVXzG8=; b=Nup27a9BspjIF2+Iv1hQA2cMvCxAnzT12twVciVjBpMi0GUJeY/q6Pg3UvtW8PxU+N /I0VFKV7OwwHdAWBQiSHDxxpXhqQq03jqapvSLWOETvRQLovh1QOqIw2o1oToUI6ngwf vrYKYGFmsjwmDtrjRnGTz23q1L7Y+PL4L5N8GpT5wCwdxKICyEBQpqbmcG0p3j1+QV62 SOElJGfV2rxHsw2bMu0wFA79cwMoFTi6AOE2xUNY3YzjsYgYNoFPPIxvgYQOqfmMd93w 9ImEKQPuHeK4lUFE0141xuftpOhvA3y394LiMacQcQFpNJJfqxxo1FTlwLzNMUMAhUN1 QW7Q== MIME-Version: 1.0 X-Received: by 10.107.160.141 with SMTP id j135mr14900940ioe.43.1431714796618; Fri, 15 May 2015 11:33:16 -0700 (PDT) In-Reply-To: <1431714425.3284050.269876137.5380A46A@webmail.messagingengine.com> References: <5554c318$0$12999$c3e8da3$5496439d@news.astraweb.com> <55554ddb$0$12995$c3e8da3$5496439d@news.astraweb.com> <55557185$0$12987$c3e8da3$5496439d@news.astraweb.com> <1431714425.3284050.269876137.5380A46A@webmail.messagingengine.com> Date: Sat, 16 May 2015 04:33:16 +1000 Subject: Re: Survey -- Move To Trash function in Python? From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1431714803 news.xs4all.nl 2900 [2001:888:2000:d::a6]:55635 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:90684 On Sat, May 16, 2015 at 4:27 AM, wrote: > On Fri, May 15, 2015, at 00:25, Chris Angelico wrote: >> The main thing is that trashing invites the system to delete the file >> at its leisure, > > I've never seen a system whose trash can emptied itself without user > intervention. They always grow to infinity on your systems? Huh. That's probably the better option, but I've had to manage Windowses back as far as XP recently (back as far as W95 but not for many years, fortunately) and the system would very kindly remove from the trash... I'm fairly sure the algorithm was either random or outright malicious, but it did remove stuff. ChrisA