[Tutor] should this cause a syntax error? [does pychecker work?]

Sean 'Shaleh' Perry shalehperry@attbi.com
Sat Nov 2 17:48:01 2002


On Saturday 02 November 2002 14:16, Danny Yoo wrote:
>
> Warnings...
>
> test.py:2: Statement appears to have no effect
> ###
>
>
> Wow!  That's very nice!  So yes, this PyChecker utility will point out
> suspicious looking code.  We can grab PyChecker here:
>
>     http://pychecker.sourceforge.net/
>

and especially handy because this is as close to compile time checks as y=
ou=20
can get.  If that statement had been in a rarely used function who knows =
how=20
long that bug could have survived.