Package: emacs23-common
Version: 23.4+1-4
Severity: normal
Tags: upstream

Hi,

python-mode fails to parse empty triple-quoted strings properly. Consider the 
following brief example:

--begin example--
#!/usr/bin/env python

def bar():
  """ """
  print "bar"

def foo():
  """"""
  print "foo"

if __name__=="__main__":
  foo()
--end example--

If you have syntax highlighting on, then "bar" is highlighted
correctly, but "foo" is not - 'print "foo"' et eq appears highlighted
as if it were part of a string. The parser is failing to handle """"""
as an empty triple-quoted string.

Regards,

Matthew

-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages emacs23-common depends on:
ii  dpkg            1.16.10
ii  emacsen-common  2.0.5
ii  install-info    4.13a.dfsg.1-10

emacs23-common recommends no packages.

Versions of packages emacs23-common suggests:
pn  emacs23-common-non-dfsg  <none>
pn  emacs23-el               <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to