[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Python binding memory management code

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2005-10-20 19:51:26 CEST

So I'm trying to review r16806, r16807 and r16842, so we can merge
them into the 1.3 branch and do away with the mod_python
multithreading crashes that have been reported. Part of the change
makes sense (the atexit moving into python land instead of C land, so
we can be sure it's still safe to run python code when our cleanups
get called), but the rest seems to be a rewrite of the underlying
python memory management stuff from C/Swig voodoo into python voodoo.
Now as far as that goes, it looks fine, the python code seems to do
something similar to what the C/Swig code did, at least to my
untrained eye, but what's missing is an overview of what the stuff is
generally trying to do.

Does any such documentation exist? If not, could we perhaps write
some, maybe placing a descriptive comment in proxy_apr.swg would be a
good idea, just so the magic that occurs with the python bindings and
APR pools can be more easily understood.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 20 19:52:30 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.