Setting instance method attributes in Python 3

Saving pull request from Bitbucket (https://bitbucket.org/agr/ropemacs/pull-request/8/setting-instance-method-attributes-in)

@emhs any more comments on this?
New instance method function location. I think they standardized it as part of python 3.