* lisp/progmodes/python.el: Be more careful about temp file removal

(python-shell-prompt-detect): Use unwind-protect to try and not leave
file behind in case of error.
1 job for emacs-26 in 26 minutes and 1 second (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #1361
test

00:26:01