bpo-44317: Improve tokenizer errors with more informative locations (GH-26555) (GH-27079)

(cherry picked from commit f24777c2b329974b69d2a3bf5cfc37e0fcace36c)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
3 files changed