So...my question is, is anybody active maintaining this module at this
point? If not, maybe I'll put up a patched version somewhere so others
don't have to go through the same process.
Thanks,
jon
P.S. I'll attach the patch, in case it's useful to anybody.
Jonathan Corbet
Executive editor, LWN.net
cor...@lwn.net
--- shmmodule.c.~1.1.~ 2002-05-29 10:00:59.000000000 -0600
+++ shmmodule.c 2003-04-10 10:13:56.000000000 -0600
@@ -1101,6 +1101,7 @@
}
Py_DECREF(o); /* the owned reference in shm_dict doesn't count! */
}
+ Py_DECREF(keyo);
/* set up the status data */
if (shmctl(o->shmid, IPC_STAT, &(o->ds)) == -1) {
Py_DECREF(o);
> I'm using the Python module for SYSV shared memory and semaphores; it's
> part of a twisted bit of code that lets me run Oasis banner ads on
> LWN.net. The module is great, but, as it turns out, it's also responsible
> for a memory leak I've been chasing for quite some time. So I tried
> dropping a note to the author (Vladimir Marangozov) with a patch, but it
> came bouncing right back to me.
>
He posted to python-dev just today:
http://mail.python.org/pipermail/python-dev/2003-April/034465.html
You could try that email address.
Cheers,
M.
--
Usenet is like a herd of performing elephants with diarrhea --
massive, difficult to redirect, awe-inspiring, entertaining, and
a source of mind-boggling amounts of excrement when you least
expect it. -- spaf (1992)