Comment 6 for bug 1023236

Revision history for this message
Andreas Roehler (a-roehler) wrote : Re: [Bug 1023236] Re: py-find-imports can't handle multiline imports or comma separated imports

Am 14.07.2012 17:40, schrieb Urs Fleisch:
> Hi Russell, Andreas,
>
> This improves the parsing of import statements. However, things like
> this should not go into the imports result:
>
> import sys, os; os.remove('do/something/nasty')
>
> So it would be probably better to stop at semicolons rather than go to
> the end of the statement list with py-end-of-statement.
>
> Regards,
> Urs
>

okay, thanks. Which signals a bug in py-end-of-statement for me.

IMO a semicolon ends a statement. (?)

Andreas