[Bug][5.4] it should not try to represent callable objects as a string