After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 491805 - Can't do a del on "None"
Can't do a del on "None"
Status: RESOLVED FIXED
Product: pyatspi2
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Eitan Isaacson
Li Yuan
Depends on:
Blocks:
 
 
Reported: 2007-10-30 17:55 UTC by Eitan Isaacson
Modified: 2019-03-27 20:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed fix (346 bytes, patch)
2007-10-30 17:57 UTC, Eitan Isaacson
accepted-commit_now Details | Review

Description Eitan Isaacson 2007-10-30 17:55:47 UTC
In _AccessibleMixin.__del__ sometimes we get a TypeError exception when we do:
del _ACCESSIBLE_CACHE[hash(self)]. This is because we are getting a "None" which cannot be deleted.
Comment 1 Eitan Isaacson 2007-10-30 17:57:24 UTC
Created attachment 98190 [details] [review]
Proposed fix
Comment 2 Eitan Isaacson 2007-10-30 18:05:20 UTC
This has been committed both to the 2.20 branch and to trunk.