/usr/lib/python2.6/dist-packages/_mysql_exceptions.py is in python-mysqldb 1.2.3-2.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/python2.6/dist-packages/../../../share/pyshared/_mysql_exceptions.py