Add fix for incorrect pointer check in python
Add reparse to diagnostics