python-mode Bug #909160 not fixed?

Asked by david cagle on 2012-12-31

I am experiencing the same problem as reported in Bug #909160 that was supposedly fixed. The ipython prompt "In [?]:" (? = line number) is not shown until exiting. (py-version "6.1.0") Here is a copy of the buffer (not I entered 3 math expressions (i.e. '1+1') without receiving a prompt, then received them once I exited the interpreter):

Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]
Type "copyright", "credits" or "license" for more information.

IPython 0.13.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
Out[4]: 2
Out[5]: 4
Out[6]: 6

In [1]:
In [2]:
In [3]:
In [4]:
In [5]:
In [6]:
In [7]:
Process c:/apps/python27/scripts/ipython.exe finished

Is this a known bug? Any work around?

Question information

English Edit question
python-mode.el Edit question
No assignee Edit question
Last query:
Last reply:
Andreas Roehler (a-roehler) said : #1

As far as it concerns

File mode specification error: (void-variable py-mode-map)

that's fixed.

The prompt numbering issue results from communication between Emacs buffers and the IPython process.
Emacs sends setup codes to the Python process before any user input. Thus the Python process raises already the prompt stats. Would welcome a new bug report for this inconvenience.

Don't know why the initiatory prompts are shown when closing, seems OS related.


Can you help with this problem?

Provide an answer of your own, or ask david cagle for more information if necessary.

To post a message you must log in.