Bugs item #1021885, was opened at 2004-09-03 11:24
Message generated for change (Comment added) made by edloper
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=581349&aid=1021885&group_id=86916
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
>Resolution: Fixed
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: Edward Loper (edloper)
Date: 2006-03-12 14:50
Message:
Logged In: YES
user_id=195958
It appears to me that this was fixed in cvs revision 4.66,
which changed "(let ((cmd (concat shell..." to "(let ((cmd
(concat py-which-shell".
I'm closing this bug as fixed for now, but if it's still
not working for you using the current cvs version, let me
know and I'll take another look at it.
----------------------------------------------------------------------
Comment By: Martin Blais (blais)
Date: 2005-01-06 15: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
[email protected]
http://mail.python.org/mailman/listinfo/python-mode