dogtail-devel [Bug 439531] Unable to define instance variables in Accessible



If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=439531

  at-spi | python-bindings | Ver: unspecified




------- Comment #2 from Peter Parente  2007-05-25 14:59 UTC -------
Zack,

Instead of allowing a __dict__ field to be created and initialized to {} for
all accessible objects, what if we defined a slot for "user_data" which you
could initialize to whatever you wanted?

I'm hesitant to change the default behavior from __slots__ = () to __dict__ =
{} on all accessibles because of the extra overhead it introduces. Can you work
with user_data?


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=439531.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]