Make the Python generator use non-hardcoded namespaces.
authorDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:41:54 +0000 (21:41 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:41:54 +0000 (21:41 +0000)
commit320e45ce8b1d2721a7f814c1e1a8288dba36dd14
treea186a604ae4d58cee850d4c20da536d8f319373f
parentbfd26dcecc4c2b67814ed6d69fff65121c3a471f
Make the Python generator use non-hardcoded namespaces.

- Make the Python generator use program->get_namespace("py")
  instead of program->get_py_module()
- Eliminate the explicit "py_module" in t_program.
- Deprecate the py_module token.
- Update example .thrift files and syntax files.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665615 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_py_generator.cc
compiler/cpp/src/parse/t_program.h
compiler/cpp/src/thrifty.yy
test/py/explicit_module/test1.thrift
thrift.el
thrift.vim