Comment 5 for bug 1023236

Revision history for this message
Urs Fleisch (ufleisch) wrote :

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