py-previous-statement stops in tqs

Bug #645362 reported by Andreas Roehler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Fix Released
Undecided
Andreas Roehler

Bug Description

`py-previous-statement' fails if checked with code below:

Cursor at "class", beginning of line.

M-x py-previous-statement
should reach "print" but stops inside
triple-quoted-string.

Fixed in python-components-move.el
of branch

lp:~a-roehler/python-mode/python-mode-components

##############

#! /usr/bin/env python
 # -*- coding: utf-8 -*-

""" """
import re, sys, os, pdb, random, time
import MySQLdb
from urllib2 import Request, urlopen, URLError, HTTPError
# Get the command line arguments
args = sys.argv
# pdb.set_trace()
# Get the name of the file to count the words in
filename = args[1]

def usage():
    print """Usage: %s
    ....""" % (
        os.path.basename(sys.argv[0]))

class OrderedDict1(dict):
    """
    This implementation of a dictionary keeps track of the order
    in which keys were inserted.
    """

Changed in python-mode:
assignee: nobody → Andreas Roehler (a-roehler)
status: New → Confirmed
Changed in python-mode:
status: Confirmed → Fix Committed
Changed in python-mode:
status: Fix Committed → Fix Released
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.