You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@thrift.apache.org by GitBox <gi...@apache.org> on 2021/12/06 03:25:16 UTC

[GitHub] [thrift] kainjow commented on a change in pull request #1788: THRIFT-2059: Support for Enums in Python >= 3.4

kainjow commented on a change in pull request #1788:
URL: https://github.com/apache/thrift/pull/1788#discussion_r762679535



##########
File path: compiler/cpp/src/thrift/generate/t_py_generator.cc
##########
@@ -278,6 +280,7 @@ class t_py_generator : public t_generator {
    * True if we should generate new-style classes.
    */
   bool gen_newstyle_;
+  bool gen_enum_;

Review comment:
       this needs be initialized like the other variables to false.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@thrift.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org