all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 15647@debbugs.gnu.org
Subject: bug#15647: 24.3.50; python.el does not clean up temp file
Date: Sun, 20 Oct 2013 14:27:46 -0400	[thread overview]
Message-ID: <aamwm34x25.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <83li1oklcu.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 20 Oct 2013 18:33:53 +0300")

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).





  parent reply	other threads:[~2013-10-20 18:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-18 18:51 bug#15647: 24.3.50; python.el does not clean up temp file Jorgen Schaefer
2013-10-19 17:04 ` Andreas Röhler
2013-10-19 21:51   ` Stefan Monnier
2013-10-20  7:51     ` Andreas Röhler
2013-10-20 15:33       ` Eli Zaretskii
2013-10-20 16:25         ` Andreas Röhler
2013-10-20 18:27         ` Glenn Morris [this message]
2013-10-20 18:31           ` Glenn Morris
2013-10-20 19:12           ` Eli Zaretskii
2013-10-21  0:53             ` Glenn Morris
2013-11-23 19:39         ` Glenn Morris
2013-10-20  2:01 ` Glenn Morris
2013-11-23  3:13 ` Glenn Morris
2013-11-23  4:21   ` Glenn Morris
2013-11-23 13:34     ` Andreas Röhler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aamwm34x25.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=15647@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.