Dalba added a comment.

Another, and hopefully more straightforward, way of reproducing the issue:

from pywikibot import Site
site = Site('en', 'wikipedia')
for page in site.allpages(namespace=14, filterredir=True, content=True):
    print(page)

(It'll hang in iterating over site.allpages(namespace=14, filterredir=True, content=True). The print statement is not reached, at least not as long as I let the script run, which was nearly 2 or 3 minutes.)


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

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

To: Dalba
Cc: Dalba, Mpaa, zhuyifei1999, Chicocvenancio, Aklapper, Riley_Huntley, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to