[PYTHON IMAGE-SIG] passing tuple to c and back

aaron watters aaron_watters@msn.com
Thu, 13 Feb 97 03:35:33 UT

I'm unsure if this is causing your problem, but you should never
try to modify a tuple value after it has been properly initialized: maybe
the abstract.c functions you use are smart enough to know this so
they refuse to do the setitem...  Actually this is pretty likely.  If you
want to return a tuple you must make a new tuple and initialize it using
the tuple specific accessor functions, I think.    -- Aaron Watters

IMAGE-SIG - SIG on Image Processing with Python

send messages to: image-sig@python.org
administrivia to: image-sig-request@python.org