Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-pagegenerators.py.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  **Feature summary**:
  Make pagegenerators.PetScanPageGeneratora collections.Generator
  
  **Use case(s)**:
  Currenly pagegenerators.PetScanPageGenerator is an Iterable; it works with 
for loops but it doest not support next() function. To convert it to an 
Iterator the iter() function must be used.
  
  See also T312654 <https://phabricator.wikimedia.org/T312654>
  
  **Benefits**:
  Making pagegenerators.PetScanPageGenerator a collections.abc.Generator it is 
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/T313683

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

To: Xqt
Cc: Aklapper, pywikibot-bugs-list, Xqt, 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