/[Apache-SVN]
ViewVC logotype

Revision 665234


Jump to revision: Previous Next
Author: dreiss
Date: Thu Aug 30 00:58:43 2007 UTC (17 years, 2 months ago)
Changed paths: 11
Log Message:
Thrift: Support for explicit Python module declaration.

Summary:
Previously, Thrift used the name of the .thrift file as the python module name.
This wasn't very flexible.  Now the python module can be explicitly declared.
Also, there was no need for t_py_generator to inherit from t_oop_generator.

Reviewed By: mcslee

Test Plan:
cd test/py/explicit_module
./runtest.sh

Revert Plan: ok


Changed paths

Path Details
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_py_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_py_generator.h modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/parse/t_program.h modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/thriftl.ll modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/thrifty.yy modified , text changed
Directoryincubator/thrift/trunk/test/py/explicit_module/ added
Directoryincubator/thrift/trunk/test/py/explicit_module/runtest.sh added
Directoryincubator/thrift/trunk/test/py/explicit_module/test1.thrift added
Directoryincubator/thrift/trunk/test/py/explicit_module/test2.thrift added
Directoryincubator/thrift/trunk/thrift.el modified , text changed
Directoryincubator/thrift/trunk/thrift.vim modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26