我有thrift代碼生成器或Python的問題。 代碼示例(由節儉生成): class SomeClass:
spec = (
(1, (SomeClass, SomeClass.spec)),
)
錯誤消息: NameError: name 'SomeClass' is not defined
因此,我發現,在節儉JIRA(自2014仍然打開的)bug。建
在一個Python模塊中,我正在做一些東西。在做這些事情的過程中,我創建了一個Thrift連接。問題在於連接開始後,程序停滯在網絡邏輯中。 (即阻塞)。 在模塊A,我有: stuff = "do some stuff"
network.ConnectionManager(host, port, ...)
stuff = "do more stuff" # not getting to this
的./configure thrift 1.0.0-dev
Building C++ Library ......... : yes
Building C (GLib) Library .... : yes
Building Java Library ........ : yes
Building C# Library .......... : no
Building Python L