One of the things I like most about the Spyder IDE is it flags syntax errors as you go. However, that does not seem to be the case in the version I upgraded to: 4.0.1.
Here is a screen cap of what I'm talking about:

Line 8 should have the warning that os is imported but not used. Lines 20,21, and 24 should be syntax errors as well. Is there a setting I've missed?
Dan Patterson