migrated #779839 from python project.
The rest of this report is a quote from Skip's message
Attached is Skip's tentative patch (which is likely
incorrect for Jython).
John> 1. Why do I get this in my minibuffer when
John> C-c C-c in a python-mode buffer containing
John> following valid Python code?
John> Wrong type argument: sequencep, cpython
It looks like a bug in py-execute-region. It sets the
variable like so:
(setq shell (or (py-choose-shell-by-shebang)
which gives it the value (quote cpython). Later on it
to concatenate it:
(let ((cmd (concat shell (if (string-equal
py-which-bufname "JPython") " -" ""))))
which fails because shell is not a string (strictly
speaking, a sequence) at that point. I'm not sure
the correct fix is.
Log in to post a comment.