don't assume func object will have a __name__ attribute as this will cause a crash on non-Python functions
don't assume func object will have a __name__ attribute as this will cause a crash on non-Python functions

5monkeys/bpython