Re: socket.makefile & AF_UNIX

2004-12-10 Thread Jamie Saker
>If you're trying to create a Unix socket then mknod() isn't what >you need.  You probably want to create a socket and bind() it to >the log file: >filename = 'snort_alert' > s = socket(AF_UNIX, SOCK_DGRAM) > s.bind(filename) Interesting - I tried this with a local test_log and it worked, creatin

socket.makefile & AF_UNIX

2004-12-10 Thread Jamie Saker
I think I'm overlooking something assumed in socket's makefile method. Googling several hours and digging thru the python reference didn't help - I think I'm overlooking an assumption between Python and UNIX socket objects neither is explicitely discussing. I think my mknod In the makefile ope

Re: Python-list Digest, Vol 14, Issue 377

2004-11-29 Thread Jamie Saker
On Mon, 29 Nov 2004 16:05:14 -0500, "Eric S. Johansson" <[EMAIL PROTECTED]> wrote: > If I could simply do: py-get twisted And I forgot to mention, the Gentoo 'emerge' tool is actually written in Python, so in a sense, your py-get is already there in Gentoo. From the header of /usr/bin/python:

Re: Python-list Digest, Vol 14, Issue 377

2004-11-29 Thread Jamie Saker
.gentoo.org for more info, or on IRC at #gentoo Jamie Saker "Gentoo bumper sticker: I'd rather be compiling!" -- http://mail.python.org/mailman/listinfo/python-list