py3: pass unicode strings to hasattr() throughout

Merge request reports

Loading