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

TASK DESCRIPTION
  **Feature summary**:
  Make EventStreams a collections.Generator
  
  **Use case(s)**:
  Currenly EventStreams is an Iterable and not an Iterator as the documenation 
says; 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 EventStreams 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/T312883

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

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