https://bugzilla.wikimedia.org/show_bug.cgi?id=68705

--- Comment #3 from xqt <[email protected]> ---
cat.articles() is a generator and bool(cat.articles()) is always True.

You may try a simple performace test like:

>>> import pwb, pywikibot as py
>>> s = py.Site()
>>> c = py.Category(s, 'Mann')
>>> c.categoryinfo['pages']
456626

You'll get the result above immediately


>>> g = c.articles()
len(set(g))

You may wait several minutes to get a result. I've given up after 5.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to