Comment 13 for bug 835151

Revision history for this message
Andreas Roehler (a-roehler) wrote : Re: [Bug 835151] Re: py-shell invoking python not ipython

Am 07.03.2012 01:46, schrieb Terry Jones:
> Hola Juan
>

Hi Terry and Juan,

re-opened this because of the comments coming in - however don't see the issue yet.

Juan, may you check out the current trunk?
Please tell, should you need help for this.

Please consider to send a bug report or feature request at

https://bugs.launchpad.net/python-mode

should something not work as expected.

>> Terry, would it be possible if you post me just exactly the part of the
>> code you rearranged?
>
> I'd love to help, but I'm afraid I upgraded python mode sometime later and
> the error message and python (not ipython) invocation returned. I've been
> too busy to investigate again.
>
> Looks like earlier I just put
>
> (setq py-default-interpreter "ipython"
> py-python-command "ipython")
>
> into my ~/.emacs and it worked.

`py-default-interpreter' is just an alias BTW.

Likewise using M-x customize py-shell-name should make it survive upgrades.

If you want to have another default shell than shipped, there is no way than indicating that somehow.

Beside of this - with changes of py-shell-name taking a full-path, the bug titeling here might show up in some circumstances again.
Please send a report in that case.

   But nothing I say about Python mode should
> be taken seriously. I have no idea if that was a good thing to try! :-)
>
> Let me know if you find an answer& I'll do the same.
>
> Un abrazo,
> Terry
>