Python COM for Linux?

Greg Green gregory.p.green at boeing.com
Tue Jun 27 20:03:53 EDT 2000


Warren Postma wrote:
> 
> I find callbacks from C to python to be no problem. I use a simple
> publish/subscribe event model implemented as a C extension that has a
> dictionary with the event names as the keys (strings), and the callbacks as
> a list of Python functions.  The C code is both portable and elegant, IMHO.
> 
> Adding COM just to get callbacks would be ugly for two reasons:
> 
> 1. You already have TWO sets of  primitive types (C builtin variable types,
> and Python's native types), why mix in a third?
> 
> 2. COM on Linux is a fudge, and not a very stable one at that. There is a
> COM implementation for Linux but it's not open source, so if you have a
> problem, you can't fix it, you're stuck.
> 
> Warren

That sounds interesting. Could you expand on it a little more? Is the
publish/subscribe done in the python module or in the C extension? Or
both?

-- 

Greg Green
Advanced Design Systems
Math & Computing Technology
Boeing
(425) 865-2790



More information about the Python-list mailing list