GNOME Bugzilla – Bug 700094
regression: Gtk.TreeIter().user_data cannot store 0
Last modified: 2013-05-12 00:08:53 UTC
Our application breaks when moving from 3.4 to 3.8 old: Ubuntu 12.10 gtk++ : 3.6.0 pygobject : 3.4.0 new: stock Ubuntu 13.04 gtk++ : 3.6.4 pygobject : 3.8.0 We store in Gtk.TreeIter index into a list. One of these is the start, so index=0. With 3.8.0 however, doing iter.user_data = 0 gives a value of None when doing print (iter.user_data) Workaround: As we never store None in user_data, we convert a value of None to the real value of 0
Thanks for the report. This has already been fixed (bug 698366) and was cherry-picked for PyGObject 3.8.2. *** This bug has been marked as a duplicate of bug 698366 ***