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

TASK DESCRIPTION
  **Feature summary**:
  Site.languages() 
<https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.site.html#id10> 
returns a list currently. Return a set instead or implement an alternate 
property giving a set instead.
  
  **Benefits** (why should this be implemented?):
  
  `Site.languages()` is used several times 
<https://codesearch.wmcloud.org/pywikibot/?q=%5C.languages%5C%28%5C%29&files=&excludeFiles=&repos=>
 in conjunction with `in` statements. Using a set with the `in` operator the 
time will be up to 300 times faster.

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

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

To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, 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