Do not use deprecated func_name property (see http://docs.python.org/3/reference/datamodel.html#index-33 )