thrift
thrift copied to clipboard
THRIFT-5885: Python incorrectly deserializes Enum
Attempt to fix issue with enum deserialion
Disclaimer: I am seeing the same issue for recent Windows builds and this change as suggested in the ticket solves the issue. I am not sure however if this is correct since this is a part of Python that I am not experienced with
- [x] Did you create an Apache Jira ticket? THRIFT-5885
- [x] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
- [ ] Did you squash your changes to a single commit? (not required, but preferred)
- [x] Did you do your best to avoid breaking changes? If one was needed, did you label the Jira ticket with "Breaking-Change"?
- [ ] If your change does not involve any code, include
[skip ci]anywhere in the commit message to free up build resources.
This branch is staggered on top of the changes in #3232 See https://github.com/CJCombrink/thrift/pull/8 for just the changes that this PR would bring in if merged separately.