Fix typo
Override Python C style to not insert literal TABs
Wrap the APPEND_OLD_CHUNK macro with a do {} while(0)

This is it avoid tricking Emacs indentation engine.
Simplify code, avoiding a goto
Rename some functions, for style consistency
Honor the iso_datetime flag
Remove unused import
Adjust the comment
Update scanstring() documentation
Assert that the utc argument is a tzinfo instance
Tests for the scanstring() function