GNOME Bugzilla – Bug 488995
None nodes in child iterator
Last modified: 2008-02-28 07:47:52 UTC
At least for the desktop it is possible to get children of None. so for example import pyatspi root = pyatspi.Registry.getDesktop(0) for app in root: print app.name will fail when app is None (gave me some very strange crashes) I think that the iterator should only return valid acc nodes, otherwise we need to to extra checks (plus it really doesn't make sense).
This is a problem with at-spi and has been logged for that product (see Bug 465103). It can probably be marked as a duplicate of that bug.
Thanks again, Brian! *** This bug has been marked as a duplicate of 465103 ***