List Info

Thread: Make socket support TIPC




Make socket support TIPC
country flaguser name
Argentina
2007-12-18 08:57:19
Hi!

I wrote a patch adding TIPC support to the socket module,
you can find
it in http://bugs.python.
org/issue1646.

TIPC (http://tipc.sf.net)
is an open protocol designed for use in
clustered computer environments. It currently has an open
source
implementation for Linux (>= 2.6.16), and VxWorks.

On #python-dev, a very friendly person (whose name/nick I
can't recall,
I had a power cut and lost my IRC session) helped me with
the submission
explained that the patch will probably get rejected in order
to keep the
core slim, and suggested I should send an email to this
mailing list so
it can be discussed.

I already wrote an external module to support TIPC
(http://auriga.w
earlab.de/~alb/pytipc/), but given that the socket
module already supports Linux-specific protocols (AF_PACKET
and
AF_NETLINK), and the code impact was (IMHO) small, I wrote a
patch to
add TIPC support.


The patch consists of adding the TIPC constants, and
modifying
makesockaddr(), getsockaddrarg() and getsockaddrlen() to
handle the
TIPC addresses. No generic code is changed.

Compilation is completely conditional on having the TIPC
headers, and
has no runtime dependencies.

The diff adds 156 new lines and changes 2, and on x86
increases code
size by about 2k:

   text    data     bss     dec     hex filename
  37158   11980      20   49158    c006 /tmp/so/wo-tipc.so
  39162   11980      20   51162    c7da /tmp/so/w-tipc.so


Thanks a lot,
		Alberto


_______________________________________________
Python-Dev mailing list
Python-Devpython.org
ht
tp://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/p
ython-dev/nessto%40sharedlog.com

Re: Make socket support TIPC
country flaguser name
Argentina
2007-12-21 14:08:42
On Tue, Dec 18, 2007 at 11:57:19AM -0300, Alberto Bertogli
wrote:
> I wrote a patch adding TIPC support to the socket
module, you can find
> it in http://bugs.python.
org/issue1646.

Well, I'm supposed to "tickle the interest of one of
the many folks with
commit privileges" about this, so here I am =)

Is anyone interested in this patch?
I have no idea what else is needed to get this in, so if
anybody can
give me some hints, I'd be great.

Thanks a lot,                                               
                                        
		Alberto


_______________________________________________
Python-Dev mailing list
Python-Devpython.org
ht
tp://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/p
ython-dev/nessto%40sharedlog.com

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )