bpo-44335: Ensure the tokenizer doesn't go into Python with the error set (GH-26608)

(cherry picked from commit bafe0aade5741ab0d13143ee261711fdd65e8a1f)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
1 file changed