linearregression / hypertable

Automatically exported from code.google.com/p/hypertable
GNU General Public License v2.0
0 stars 0 forks source link

Use new-style python classes for the thrift API? #778

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Would it be possible for future hypertable releases to use new-style python 
classes for the thrift API?  It's a pretty easy change, and makes certain 
python idioms much easier for users.

as described in http://wiki.apache.org/thrift/ThriftUsagePython, the call to 
the thrift compiler becomes:

thrift -gen py:new_style blah.thrift

Looks like this works with Python 2.2 or greater.

Original issue reported on code.google.com by nuggetwh...@gmail.com on 1 Feb 2012 at 10:43

GoogleCodeExporter commented 9 years ago

Original comment by nuggetwh...@gmail.com on 16 Feb 2012 at 10:23