Dvorapa added a comment.

@Xqt Short answer: This inconsistency caused this mistaken error

Long answer: Follow me: If I am used to use requests in some other project, I am used to its syntax. But when I use pywikibot.comms.http.fetch method, it has got these two method names swapped and I can be easily confused. Which can finally cause that I use wrong method and get a response in bytes instead of textual and the whole script stops working (as it was in reflinks.py)


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

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

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

Reply via email to