Debug python3 issues