Don't send ^M to Python process under Windows as you get error
SyntaxError: invalid syntax
when try complete symbol by M-TAB.
--- a/.emacs-my Wed Sep 21 10:23:11 2011 +0300
+++ b/.emacs-my Thu Sep 22 01:58:21 2011 +0300
@@ -1541,6 +1541,13 @@
))
;;; ----------------------------------------------------------------
+(message "python")
+
+(when (equal window-system 'w32)
+ (add-to-list 'process-coding-system-alist '("python" cp1251-unix . cp1251-unix))
+ )
+
+;;; ----------------------------------------------------------------
(message "javascript, js")
;; (if (>= emacs-major-version 23)