When does python-mode open multiple python buffers?

Asked by Richard Stanton

I've noticed that sometimes, even when I'm only editing a single python script, python-mode opens more than one python (or ipython) shell buffer. Why is this?

Question information

Language:
English Edit question
Status:
Answered
For:
python-mode.el Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Andreas Roehler (a-roehler) said :
#1

Am 05.05.2012 09:15, schrieb Richard Stanton:
> New question #196098 on python-mode.el:
> https://answers.launchpad.net/python-mode/+question/196098
>
> I've noticed that sometimes, even when I'm only editing a single python script, python-mode opens more than one python (or ipython) shell buffer. Why is this?
>

that might happen, if the shell indicated by shebang is not identic with Python shell already running.
Completion might use the shebang-shell, thus opening it.

BTW with Python2, Pymacs based py-complete is IMO the fastest completion
and avoids opening a shell.

Can you help with this problem?

Provide an answer of your own, or ask Richard Stanton for more information if necessary.

To post a message you must log in.