Use Python convention
Remove unreachable code
Add test
Merge remote-tracking branch 'upstream/master'
Better error message for static inside function body.