Barry Warsaw <ba...@python.org> writes:

> On Feb 10, 2011, at 12:43 PM, Dan Davison wrote:
>
>>def f():
>>    '''
>>    docstring
>>    '''
>>
>>With point in column zero on the line after the closing triple-quote,
>>py-indent-line fails with Wrong type argument: integerp, t.
>
> wfm: Emacs 23.2.1, python-mode.el r396

Yes, I confirm that. Broken in emacs 24.0.5.1 but works in 23.2.1.  In
emacs23, in py-compute-indentation, (parse-partial-sexp bod (point))
returns an integer in 4th position, as opposed to t.

My emacs 24 was built from the git repo with HEAD at 41f7693196
(2011/02/02) and my python-mode git repo is at bfaf3a8d05 (2011/02/07)

Dan

>
> -Barry
> _______________________________________________
> Python-mode mailing list
> Python-mode@python.org
> http://mail.python.org/mailman/listinfo/python-mode
_______________________________________________
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode

Reply via email to