valhallasw added a comment.
It's inconsistent now in any case:
__setattr__(..., bytes) -> sets unicode ? __setattr__(..., list(bytes)) -> sets list(bytes)
Also, as far as I can see, passing a string is broken now because list('abc') = ['a', 'b', 'c']...
TASK DETAIL https://phabricator.wikimedia.org/T99450
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: valhallasw Cc: jayvdb, XZise, valhallasw, Aklapper, pywikipedia-bugs