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.
Am 14.07.2012 17:40, schrieb Urs Fleisch: 'do/something/ nasty') of-statement.
> 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(
>
> So it would be probably better to stop at semicolons rather than go to
> the end of the statement list with py-end-
>
> Regards,
> Urs
>
okay, thanks. Which signals a bug in py-end-of-statement for me.
IMO a semicolon ends a statement. (?)
Andreas