Comment 1 for bug 1545013

Revision history for this message
Andreas Roehler (a-roehler) wrote : Re: [Bug 1545013] [NEW] scan-error on py-sort-imports

On 12.02.2016 15:51, Barry Warsaw wrote:
> Public bug reported:
>
> >From python-mode.el Debian 6.2.2
>
> Visit an empty file and hit C-c C-f on an empty line (py-sort-imports).
> You get a scan-error:
>
> up-list: Scan error: "Unbalanced parentheses", 1, 1
>
>

Doku says:

Put point inside the parentheses of a multiline import and hit

;;

Will it be okay if Emacs stays silent here?
Issuing a warning would mean over-engineering WRT to doku.