added python edge cases to bob