| Ottomata added a comment. |
Ah, I did deploy EventStreams yesterday for T171011. I don't know exactly what caused this change, but I think the event.data is now utf-8 encoded. I don't know why it wouldn't have been before but is now. All tests in _javascript_ pass, I think I'll need to add a python based on to the EventStreams test suite.
To fix on your side, you'd either: A. run in python3, where everything is utf-8 anyway, or B. change this line to say element = json.loads(event.data.decode('utf-8').
What it is doing now might be more correct than what it was doing before. But, I also don't want to break users. @Xqt, what do you think I should do? Should we get a fix into pywikibot, or would you prefer if I rolled-back?
TASK DETAIL
EMAIL PREFERENCES
To: Ottomata
Cc: Ottomata, Aklapper, Xqt, pywikibot-bugs-list, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis, JAllemandou, mobrovac, GWicke, jayvdb, Dalba, Masti, Alchimista, Rxy, jeremyb
Cc: Ottomata, Aklapper, Xqt, pywikibot-bugs-list, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis, JAllemandou, mobrovac, GWicke, jayvdb, Dalba, Masti, Alchimista, Rxy, jeremyb
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
