Feature summary:
Make api.APIGenerator and its subclasses an iterator which is suggested by the documentation. Currently this class only provides an iterable. (Or change the doc accordingly.)
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| [IMPR] Provide a Generator wrapper class to start/restart a generator | pywikibot/core | master | +283 -119 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Feature | Xqt | T301318 Make api.APIGenerator an Iterator | ||
| Resolved | Feature | Xqt | T312654 Make api.APIGenerator a Generator |
Event Timeline
Comment Actions
Change 812372 had a related patch set uploaded (by Xqt; author: Xqt):
[pywikibot/core@master] [IMPR] Make all api generators a collections.abc.Generator
Comment Actions
Change 812372 merged by jenkins-bot:
[pywikibot/core@master] [IMPR] Provide a Generator wrapper class to start/restart a generator