Bugs item #1021885, was opened at 2004-09-03 15:24 Message generated for change (Comment added) made by blais You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=581349&aid=1021885&group_id=86916
Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dan Christensen (jdc) Assigned to: Nobody/Anonymous (nobody) Summary: shell gets set to 'cpython' Initial Comment: If I edit a source file which starts with #!/usr/bin/python and I hit C-c C-c to run it, then py-execute-region sets the variable shell using (setq shell (or (py-choose-shell-by-shebang) (py-choose-shell-by-import) py-which-shell)))) The function py-choose-shell-by-shebang returns cpython. Then a bit further down we have (let ((cmd (concat shell ... which gives an error: Debugger entered--Lisp error: (wrong-type-argument sequencep cpython) concat(cpython "") The only related line in my .emacs.el is (require 'python-mode) Dan ---------------------------------------------------------------------- Comment By: Martin Blais (blais) Date: 2005-01-06 20:20 Message: Logged In: YES user_id=10996 I also report the same problem. Same place, same reason. shell gets set to a symbol, and it's attempted to be concat'ed. This break py-execute-buffer, and IMO it's a major showstopper. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=581349&aid=1021885&group_id=86916 _______________________________________________ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode