Subject: bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer

From: martin rudalics <[email-masked]>
Date: Wed, 12 Sep 2012 10:09:26 +0200

> 1. emacs -nw -q
 > 2. M-x run-python
 > 3. At the prompt, enter "aaaa = 4" followed by RETURN
 > 4. At the prompt, enter "aaaaaa = 6" followed by RETURN
 > 5. At the prompt enter "aa" followed by TAB to request a completion
 >
 > After step (4) the buffer contents look like:
 >>>> aaaa = 4
 >>>> aaaaaa = 6
 >>>>
 >
 > After step (5) it looks like:
 >
 >>>> aaaa = 4
 >>>> aaaaaa = 6
 >>>> 'aaaa;aaaaaa'
 >>>> aaaa

This could be related to the behavior of `complete-with-action'.  See
also bug#10851.

martin