Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.030 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'completeness': 0.07; 'subject:file': 0.07; 'subject:How': 0.09; 'received:155': 0.09; 'currencies': 0.16; 'disclaimers': 0.16; 'disclaimers,': 0.16; 'from:addr:jpmorgan.com': 0.16; 'happily': 0.16; 'received:155.180': 0.16; 'received:159.53': 0.16; 'received:bankone.net': 0.16; 'received:exchad.jpmchase.net': 0.16; 'received:jpmchase.com': 0.16; 'received:jpmchase.net': 0.16; 'received:svr.bankone.net': 0.16; 'securities,': 0.16; 'trash': 0.16; 'url:disclosures': 0.16; 'url:jpmorgan': 0.16; 'windows': 0.19; 'to:name:python-list@python.org': 0.20; 'received:169.254': 0.24; 'header:In-Reply-To:1': 0.25; 'accuracy': 0.27; 'chase': 0.29; 'received:169': 0.29; 'header:Received:8': 0.30; 'file': 0.32; 'instances': 0.33; 'to:addr:python-list': 0.33; 'phone:': 0.34; 'something': 0.35; '(i.e.': 0.36; 'should': 0.36; 'charset:us-ascii': 0.36; 'possible': 0.37; 'does': 0.37; 'quite': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'delete': 0.38; 'to:addr:python.org': 0.39; 'think': 0.40; 'remove': 0.61; 'firm': 0.62; 'information,': 0.63; 'url:email': 0.63; 'legal': 0.65; 'subject': 0.66; 'investment': 0.67; 'purchase': 0.67; 'sale': 0.76; 'bank': 0.77; '712': 0.84; 'belief': 0.84; 'received:169.254.8': 0.84; 'recycling': 0.84; 'subject:status': 0.84; 'houston,': 0.91 X-DKIM: OpenDKIM Filter v2.1.3 sf3.jpmchase.com q6DG0nWf017282 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpmorgan.com; s=smtpout; t=1342195250; bh=7y8CEB4Y4zB0c3/eoTM9vuMhcPDfBlLVsvYNSI45K2I=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: Content-Transfer-Encoding:MIME-Version:Content-Type; b=mo9WB+J9d3KSKAdRHITr+ux6DohMCxXPptIX5K1PG4WqK2J0LVyHtcmccbq9aFthj 6q0L9MSK9XI5+a5IkkRUzxGBjd/uK+xZo0GzomBw+ygz3sj8tdJKiV4JEnhDZaI0yH RTkJrplDZcCzn8NpuxepUPtygvAHEIa/ucAdZD9g= From: "Prasad, Ramit" To: "python-list@python.org" Subject: RE: How to safely maintain a status file Thread-Topic: How to safely maintain a status file Thread-Index: AQHNYKWEOBGDnrQ45Uy/2LQbKJxATJcm4RAAgAB9BNA= Date: Fri, 13 Jul 2012 16:00:30 +0000 References: <4FF9F454.40207@shopzeus.com> <4ffecef4$0$6877$e4fe514c@news2.news.xs4all.nl> <4FFF0CB7.3030007@shopzeus.com> <4fff926b$0$29965$c3e8da3$5496439d@news.astraweb.com> <62e90523-a160-4e28-8109-9ce32d8952e1@googlegroups.com> In-Reply-To: <62e90523-a160-4e28-8109-9ce32d8952e1@googlegroups.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.67.79.47] Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-DLP-FWD: Yes Content-Type: text/plain; charset="us-ascii" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1342195254 news.xs4all.nl 6895 [2001:888:2000:d::a6]:42833 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:25268 > Well "neat tricks" aside, I am of the firm belief that deleting files sho= uld=0D=0A> never be possible whilst they are open=2E=0D=0A=0D=0AThis is one= of the few instances I think Windows does something better =0D=0Athan OS X= =2E Windows will check before you attempt to delete (i=2Ee=2E move=0D=0Ato = Recycling Bin) while OS X will move a file to Trash quite happily=0D=0Aonly= tell me it cannot remove the file when I try to empty the Trash=2E=0D=0A= =0D=0ARamit=0D=0A=0D=0A=0D=0ARamit Prasad | JPMorgan Chase Investment Bank = | Currencies Technology=0D=0A712 Main Street | Houston, TX 77002=0D=0Awork = phone: 713 - 216 - 5423=0D=0A=0D=0A--=0D=0A=0D=0A=0D=0AThis email is confid= ential and subject to important disclaimers and=0D=0Aconditions including o= n offers for the purchase or sale of=0D=0Asecurities, accuracy and complete= ness of information, viruses,=0D=0Aconfidentiality, legal privilege, and le= gal entity disclaimers,=0D=0Aavailable at http://www=2Ejpmorgan=2Ecom/pages= /disclosures/email=2E