when __getattr__ is a descriptor, call it correctly; fixes #4230

patch from Ziga Seilnacht
3 files changed