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 634636 - Override request: Gio: Make GFileEnumerator iterable
Override request: Gio: Make GFileEnumerator iterable
Status: RESOLVED DUPLICATE of bug 623278
Product: pygobject
Classification: Bindings
Component: introspection
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2010-11-11 22:26 UTC by Holger Berndt
Modified: 2010-11-21 20:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Holger Berndt 2010-11-11 22:26:14 UTC
In PyGTK, file enumerators from Gio were iterable, so one was able to do (folder is a Gio.File)

for fileinfo in folder.enumerate_children(..):
    pass
Comment 1 johnp 2010-11-12 15:54:04 UTC
Can you write a test routine which I can run against any overrides I write and attach it here.  Thanks.
Comment 2 Paolo Borelli 2010-11-21 20:06:13 UTC
Duplicate. The old bug even has the start of a patch.

*** This bug has been marked as a duplicate of bug 623278 ***