Xqt created this task.
Xqt added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  **Feature summary**:
  
  pagegenerators.GoogleSearchPageGenerator  should be a Generator as the class 
name says
  
  **Use case(s)** :
  
  Currenly pagegenerators.GoogleSearchPageGenerator is an Iterables; it works 
with for loops but it does not support next() function of an Iterator.
  
  **Benefits**:
  
  Making pagegenerators.GoogleSearchPageGenerator a collections.abc.Generator 
they are capable to be used as
  
  - Iterable (for loops etc.)
  - Iterator (next() function etc.)
  - Generator (close() method which is used by BaseBot; BaseBot tries to 
convert every Iterable to a Generator)

TASK DETAIL
  https://phabricator.wikimedia.org/T313681

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, PotsdamLamb, Jyoo1011, JohnsonLee01, 
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, 
JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to