RFC-24, implementation of item 3.2: parent references in PYTHON

Umberto Nicoletti umberto.nicoletti at GMAIL.COM
Sun Dec 16 11:21:58 EST 2007

To the python mantainers:

I have resumed my work on rfc-24 and I'm now tackling item 3.2.
The purpose of item 3.2 is to prevent early garbage collection
when a parent reference goes out of scope, the details are at:


I have already committed the necessary changes for Java mapscript and then
I have prepared a patch for python that you can find here:


The patch introduces:
- a test program (tests/cases/parentreference.py)
- modifications to the wrappers of classObj and layerObj so that the
test program passes

Before making any changes I'll wait for your review/approval.

Please note that the patch must applied from mapscript/python.

Best regards,

More information about the mapserver-dev mailing list