You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While doing the python3 conversion I realised that the data handlers never cared about encodings and now we've got a mix of ascii and utf8 encodings between sources and caches. I'd like to formally state what types go where and enforce it.
For example, is nssdb a utf8 compatible cache? Or does it have to be ascii only? I think OpenLDAP, Samba4, etc allow utf8?
Should the Updater deal in Python str types and convert to bytes or deal with bytes only and avoid any encoding at all?
Once decided on, can pytype annotations force us to get conforming code?
The text was updated successfully, but these errors were encountered:
While doing the python3 conversion I realised that the data handlers never cared about encodings and now we've got a mix of ascii and utf8 encodings between sources and caches. I'd like to formally state what types go where and enforce it.
For example, is nssdb a utf8 compatible cache? Or does it have to be ascii only? I think OpenLDAP, Samba4, etc allow utf8?
Should the Updater deal in Python
str
types and convert to bytes or deal with bytes only and avoid any encoding at all?Once decided on, can pytype annotations force us to get conforming code?
The text was updated successfully, but these errors were encountered: