From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#15647: 24.3.50; python.el does not clean up temp file Date: Sun, 20 Oct 2013 14:27:46 -0400 Message-ID: References: <87eh7ih0pz.fsf@orion.kollektiv-hamburg.de> <5262BB9D.4050802@easy-emacs.de> <52638B84.6070409@easy-emacs.de> <83li1oklcu.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1382293683 31517 80.91.229.3 (20 Oct 2013 18:28:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2013 18:28:03 +0000 (UTC) Cc: 15647@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 20 20:28:07 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VXxjS-0001g9-W7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Oct 2013 20:28:07 +0200 Original-Received: from localhost ([::1]:37143 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXxjS-0006RR-K6 for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Oct 2013 14:28:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXxjP-0006R9-Bw for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2013 14:28:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VXxjO-0004K2-Ed for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2013 14:28:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXxjO-0004Jy-Az for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2013 14:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VXxjO-0000Rt-1w for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2013 14:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Oct 2013 18:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 15647-submit@debbugs.gnu.org id=B15647.13822936701707 (code B ref 15647); Sun, 20 Oct 2013 18:28:02 +0000 Original-Received: (at 15647) by debbugs.gnu.org; 20 Oct 2013 18:27:50 +0000 Original-Received: from localhost ([127.0.0.1]:59389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VXxjB-0000RS-Rl for submit@debbugs.gnu.org; Sun, 20 Oct 2013 14:27:50 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:35774 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VXxj9-0000RK-RW for 15647@debbugs.gnu.org; Sun, 20 Oct 2013 14:27:48 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1VXxj8-0003UO-Ik; Sun, 20 Oct 2013 14:27:46 -0400 X-Spook: 64 Vauxhall Cross militia Uzbekistan Waco, Texas Verisign X-Ran: IK6VvyIwa}.t@fIWm;}8!\F[a}=TfQL$,?/~hX17ma)gQ~B8@X.^5&K8QC0HE]I6L9HP.# X-Hue: yellow X-Attribution: GM In-Reply-To: <83li1oklcu.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 20 Oct 2013 18:33:53 +0300") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79429 Archived-At: Eli Zaretskii wrote: > In fact, in this case, even on Unix this proposal will cause trouble, > because the command sent to Python might take time to execute on the > Python side, and we might already have deleted the file when Python > tries to open it. Whut? It's python itself that deletes the file, as the last thing in the file. So it's already done whatever it was supposed to actually do. It's like a self-deleting shell script. FWIW, the patch looks fine to me (I say this was zero testing of it).