debug python return value