added python3 warning to avoid ugly backtrace