ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> image-sig
image-sig
RE: [PYTHON IMAGE-SIG] passing tuple to c and back
by aaron watters other posts by this author
Feb 13 1997 11:35AM messages near this date
Re: [PYTHON IMAGE-SIG] Transparency in TK | [PYTHON IMAGE-SIG] passing tuple to c and back
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@[...].org
administrivia to: image-sig-request@[...].org
_______________

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved