python3.2 interpreter freezes after hitting tab key

Bug #951880 reported by Gregg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Invalid
Medium
Andreas Roehler

Bug Description

-Using fresh install of Ubuntu 11.10 with Xfce Version 4.8
-python3.2 interpreter works fine in Terminal
-python2.7 (default) works fine in Emacs woth python-mode, as well all other features
seem to work fine
Steps to repeat:
1. Start Emacs and enter M-x python-mode
2. From menu, choose PyShell -> python3.2
3. enter a multiline command such as "for x in range(5):" and Return
4. On the next line "... " and press Tab button

After that Emacs freezes and I have to terminate the process.
I can enter one line commands and the interpreter is fine.

Changed in python-mode:
assignee: nobody → Andreas Roehler (a-roehler)
importance: Undecided → Medium
milestone: none → 6.0.6
Revision history for this message
Andreas Roehler (a-roehler) wrote :

what is TAB key set to?

py-shell-complete works here with Python 3.1.3

Revision history for this message
Gregg (gjbois) wrote :

I don't want to get too far in this and waster your time, so you can close this if you think it's some setting I need to figure out and not a bug.

The TAB key is set to whatever is default for a new installation of Emacs. I have not changed any settings and I created my .emacs file solely to add python-mode to the load-path. Oddly enough C-i works fine, but pressing the TAB key hangs Emacs completley.

Revision history for this message
Andreas Roehler (a-roehler) wrote : Re: [Bug 951880] Re: python3.2 interpreter freezes after hitting tab key

Am 11.03.2012 19:00, schrieb Gregg Bois:
> I don't want to get too far in this and waster your time, so you can
> close this if you think it's some setting I need to figure out and not a
> bug.
>
> The TAB key is set to whatever is default for a new installation of
> Emacs. I have not changed any settings and I created my .emacs file
> solely to add python-mode to the load-path. Oddly enough C-i works fine,
> but pressing the TAB key hangs Emacs completley.
>

Hi Gregg,

we want Python-mode usable for Python programmers, not Emacs experts only.
So far your info is very important.

When in Python-mode, may you do
M-x describe-key TAB

and tell, what's the answer?

thanks,

Andreas

Revision history for this message
Gregg (gjbois) wrote : Fwd: [Bug 951880] python3.2 interpreter freezes after hitting tab key

>
> Am 12.03.2012 13:57, schrieb Gregg Bois:
>>
>> Hi Andreas,
>>
>>> From within python-mode I followed your instructions and this is the output:
>>
>> TAB (translated from<tab>) runs the command indent-for-tab-command,
>> which is an interactive compiled Lisp function.
>>
>> It is bound to TAB.
>>
>> (indent-for-tab-command&optional ARG)
>>
>> Indent line or region in proper way for current major mode or insert a tab.
>> Depending on `tab-always-indent', either insert a tab or indent.
>>
>> In most major modes, if point was in the current line's indentation,
>> it is moved to the first non-whitespace character after indenting;
>> otherwise it stays at the same position in the text.
>>
>> If a prefix argument is given, also rigidly indent the entire
>> balanced expression which starts at the beginning of the current
>> line to reflect the current line's change in indentation.
>>
>> If `transient-mark-mode' is turned on and the region is active,
>> indent the region (in this case, any prefix argument is ignored).
>>
>> The function actually called to indent the line is determined by the value of
>> `indent-line-function'.
>>
>>
>> Gregg
>>
>>
>> From: <email address hidden>
>> Subject: Fwd: [Bug 951880] python3.2 interpreter freezes after hitting tab key
>> Date: Mon, 12 Mar 2012 08:45:28 -0400
>> To: <email address hidden>
>>
>>
>>
>>
>>
>> Begin forwarded message:From: Andreas Roehler<email address hidden>
>> Subject: Re: [Bug 951880] Re: python3.2 interpreter freezes after hitting tab key
>> Date: March 12, 2012 2:29:42 AM EDT
>> To: <email address hidden>
>> Reply-To: Bug 951880<email address hidden>
>>
>> Am 11.03.2012 19:00, schrieb Gregg Bois:
>> I don't want to get too far in this and waster your time, so you can
>> close this if you think it's some setting I need to figure out and not a
>> bug.
>>
>> The TAB key is set to whatever is default for a new installation of
>> Emacs. I have not changed any settings and I created my .emacs file
>> solely to add python-mode to the load-path. Oddly enough C-i works fine,
>> but pressing the TAB key hangs Emacs completley.
>>
>>
>> Hi Gregg,
>>
>> we want Python-mode usable for Python programmers, not Emacs experts only.
>> So far your info is very important.
>>
>> When in Python-mode, may you do
>> M-x describe-key TAB
>>
>> and tell, what's the answer?
>>
>> thanks,
>>
>> Andreas
>>
>
>

Revision history for this message
Andreas Roehler (a-roehler) wrote :

reads your python-mode is from some python.el, not python-mode.el developed here.

close it as invalid, can't reproduce.

Changed in python-mode:
status: New → Invalid
Revision history for this message
Gregg (gjbois) wrote : Hello, friend!
Revision history for this message
Gregg (gjbois) wrote : Welcome, friend!
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.