Christian Reis wrote:

Would it be correct, according to Python semantics, to pre-copy of
the object then? And if so, what are the drawbacks of implementing
things that way?


The drawback is that a number of GTK APIs simply don't work if you copy the boxed arguments. We used to copy boxed arguments (which has the benefit that it is safe to keep references to boxed objects passed as arguments to signals), but we changed it for this reason.

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/



_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to