Now using inspect for retrieving function signature
Workaround for (possible) pypy bug

'{0}'.format(True) -> '1' (should be 'True')