[Quickfix-developers] Status of Python bindings
Brought to you by:
orenmnero
From: Christopher K. <cc...@cc...> - 2008-01-31 22:05:51
|
I've been experimenting with the subversion revision of the quickfix Python bindings, and have noticed several improvements: * Socket initiators and acceptors now return from the start() method * Proper tracebacks printed from application call back methods fromAdmin() and toAdmin() * Exposure of session specific DataDictionary through SessionSettings::get() This is fantastic, when will the next release be? I've also noticed problems constructing objects with arguments, for example: In [1]: import quickfix as fix In [2]: fix.ExecTransType(fix.ExecTransType_NEW) --------------------------------------------------------------------------- <type 'exceptions.NotImplementedError'> Traceback (most recent call last) /export/home/chris/src/quickfix/examples/tradeclient/<ipython console> in <module>() /export/home/chris/lib/python2.5/site-packages/quickfix.py in __init__(self, *args) 945 __repr__ = _swig_repr 946 def __init__(self, *args): --> 947 this = _quickfix.new_ExecTransType(*args) 948 try: self.this.append(this) 949 except: self.this = this <type 'exceptions.NotImplementedError'>: Wrong number of arguments for overloaded function 'new_ExecTransType'. Possible C/C++ prototypes are: FIX::ExecTransType() FIX::ExecTransType(FIX_CHAR const &) Calling fix.ExecTransType() and then setValue() works--is this a bug or a feature? chris@chimp:~/src/quickfix/src$ svn info quickfix.i Path: quickfix.i Name: quickfix.i URL: https://quickfix.svn.sourceforge.net/svnroot/quickfix/trunk/quickfix/src/quickfix.i Repository Root: https://quickfix.svn.sourceforge.net/svnroot/quickfix Repository UUID: 533fcf9a-9214-0410-92c4-e4e556a5f8fb Revision: 1944 Node Kind: file Schedule: normal Last Changed Author: orenmnero Last Changed Rev: 1851 Last Changed Date: 2006-11-07 02:16:43 -0800 (Tue, 07 Nov 2006) Text Last Updated: 2008-01-30 14:33:36 -0800 (Wed, 30 Jan 2008) Checksum: fe43f829b9cadb4fa6f9d78492bf41c1 |