py-python-command-args has no effect

Bug #1445744 reported by Zeitlinie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Fix Committed
Undecided
Unassigned

Bug Description

Hi,

since some time, invoking ipython with a set of command line arguments is broken for me.
Previously, using these lines in my init.el

(setq-default py-shell-name "ipython")
(setq-default py-python-command-args '("--pylab=wx"))

and C-c ! has had the effect of starting an ipython shell in Emacs with the namespace populated from numpy and matplotlib and a matplotlib frontend 'wx'.

At present (python-mode revno: 1842 and vanilla Emacs 24.3.1), and also for several previous python-mode versions, this does not work for me anymore:
C-h v shows that "--pylab=wx" is indeed set, but the ipython shell in Emacs does not respect this. In fact it starts with some other, namely the 'agg', frontend.

Any suggestions on how to start ipython with command line arguments would be most welcome. Thank you.

Revision history for this message
Andreas Roehler (a-roehler) wrote : Re: [Bug 1445744] [NEW] py-python-command-args has no effect

Am 18.04.2015 um 11:19 schrieb Zeitlinie:
> Public bug reported:
>
> Hi,
>
> since some time, invoking ipython with a set of command line arguments is broken for me.
> Previously, using these lines in my init.el
>
> (setq-default py-shell-name "ipython")
> (setq-default py-python-command-args '("--pylab=wx"))
>
> and C-c ! has had the effect of starting an ipython shell in Emacs with
> the namespace populated from numpy and matplotlib and a matplotlib
> frontend 'wx'.
>
>

IPython reads py-ipython-command-args

Changed in python-mode:
status: New → Incomplete
Revision history for this message
Andreas Roehler (a-roehler) wrote :

Added some tests for such a kind of bug.

Changed in python-mode:
status: Incomplete → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.