[Python-mode] [ python-mode-Bugs-1021885 ] shell gets set to 'cpython'

SourceForge.net noreply at sourceforge.net
Thu Jan 6 21:20:37 CET 2005


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


More information about the Python-mode mailing list