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 672093 - GtkTreePath: make it iterable
GtkTreePath: make it iterable
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2012-03-14 20:13 UTC by Johan (not receiving bugmail) Dahlin
Modified: 2012-03-16 20:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GtkTreePath: make it iterable (1.19 KB, patch)
2012-03-14 20:13 UTC, Johan (not receiving bugmail) Dahlin
committed Details | Review

Description Johan (not receiving bugmail) Dahlin 2012-03-14 20:13:19 UTC
This is for PyGTK compatibility
Comment 1 Johan (not receiving bugmail) Dahlin 2012-03-14 20:13:22 UTC
Created attachment 209772 [details] [review]
GtkTreePath: make it iterable
Comment 2 Paolo Borelli 2012-03-14 22:10:27 UTC
Review of attachment 209772 [details] [review]:

Looks good to me
Comment 3 Martin Pitt 2012-03-14 22:14:26 UTC
+1 from me as well, thanks!
Comment 4 Johan (not receiving bugmail) Dahlin 2012-03-16 19:39:17 UTC
Attachment 209772 [details] pushed as fbd21ee - GtkTreePath: make it iterable
Comment 5 Sebastian Pölsterl 2012-03-16 20:17:44 UTC
Just a remark since you are using map. The return value of map changed in Python 3. Whereas it previously returned a list, map now returns an iterator [1]. Did you make sure the code works both with python 2 and 3?

[1]: http://docs.python.org/py3k/whatsnew/3.0.html#views-and-iterators-instead-of-lists