Add code quality test for self assignments (fixes #8362)
Code quality: don't assign to self (issue #8362)
Fix remaining self assignments
Fix py3-incompatible code
py3 fix for mailmap_update.py
Code quality: don't assign to cls (classmethod's)
Merge pull request #8445 from skirpichev/8362-fix

Add code quality test for self assignments