   (or (< start end)
       (error "Region is empty"))
   (let* ((proc (get-process "Python"))
-	 (temp (make-temp-name "python"))
+	 (temp (if (memq 'broken-temp-names py-emacs-features)
+		   (prog1
+		       (format "python-%d" py-serial-number)
+		     (setq py-serial-number (1+ py-serial-number)))
+		 (make-temp-name "python")))
 	 (file (concat (file-name-as-directory py-temp-directory) temp))
 	 (outbuf "*Python Output*"))
     (write-region start end file nil 'nomsg)

;; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
;; NO USER DEFINABLE VARIABLES BEYOND THIS POINT

(defconst py-emacs-features ()
  "A list of features extant in the Emacs you are using.
There are many flavors of Emacs out there, each with different
features supporting those needed by CC Mode.  Here's the current
supported list, along with the values for this variable:

 XEmacs 19: ()
 XEmacs 20: ()
 Emacs 19:  ()
")

(defvar python-font-lock-keywords
  (let* ((keywords '("and"        "assert"     "break"      "class"

;; Created:    Feb 1992
;; Keywords:   python languages oop

(defconst py-version "$Revision$"
  "`python-mode' version number.")

;; This software is provided as-is, without express or implied
