JeroenDeDauw added a comment. The Python objects I created have no such functionality, but then they are very incomplete to begin with. The PHP ones have a toArray method, so you could do a array_diff between those, though that is a rather crude approach.
I suspect it is better to not have diffing functionality in such objects. However if that is what whoever starts working on this want to do, then by all means go ahead, and we can see if any real problems occur. TASK DETAIL https://phabricator.wikimedia.org/T102741 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JeroenDeDauw Cc: demon, Qgil, Multichill, XZise, Ricordisamoa, Yurik, Husky, mkroetzsch, Denny, jcreus, Legoktm, Pyfisch, johl, Lucie, JeroenDeDauw, Aklapper, jayvdb, pywikibot-bugs-list, Wikidata-bugs, aude, Jdforrester-WMF, Krenair, Malyacko, P.Copp _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
