Indentation fails in py-shell

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

Bug Description

When pressing tab in a py-shell session, I get the error

py-compute-indentation: Variable binding depth exceeds max-specpdl-size

I am using Emacs 24.3.1 on Linux with python-mode 6.1.3 installed via M-x install-package.

Steps to reproduce:
emacs -Q
Execute (require 'python-mode)
M-x py-shell

Then enter

def f():

and observe the error. Entering spaces manually or a literal tab with C-q TAB works fine.

Revision history for this message
Andreas Roehler (a-roehler) wrote : Re: [Bug 1378973] [NEW] Indentation fails in py-shell

On 08.10.2014 20:10, David Rosenbaum wrote:
> Public bug reported:
>
> When pressing tab in a py-shell session, I get the error
>
> py-compute-indentation: Variable binding depth exceeds max-specpdl-size
>
> I am using Emacs 24.3.1 on Linux with python-mode 6.1.3 installed via
> M-x install-package.
>
> Steps to reproduce:
> emacs -Q
> Execute (require 'python-mode)
> M-x py-shell
>
> Then enter
>
> def f():
>
> and observe the error. Entering spaces manually or a literal tab with
> C-q TAB works fine.

Thanks, that should be fixed in current trunk.

Maybe check it out via

bzr branch lp:python-mode

In case there is no bazaar at your system, the file is reachable from browser too:

https://code.launchpad.net/python-mode

Changed in python-mode:
status: New → 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.