From this question on StackOverflow:
If a module contains constants whose repr() can't be used as a constructor,
it will get written to the generated file anyway, causing a SyntaxError when
In this case it was a time, generating the invalid code
xcdMaximumDate =<PyTime:12/31/9999 12:00:00 AM> # from enum XceedConstants
Log in to post a comment.