[issue31140] Insufficient error message with incorrect formated string literal

Peter Lovett report at bugs.python.org
Mon Mar 28 20:06:37 EDT 2022


Peter Lovett <pacqa100 at yahoo.com.au> added the comment:

I'm not getting the problem on 3.9.7 on Windows. 
Did get it on 3.7 (3.7.11?) on a different Windows machine last week.
Not getting the problem on 3.10.4

The wrong line number is a problem for IDLE's syntax highlighter, that marks the first line as a Syntax Error, even if that line is a comment. 

This is an issue for ArcGIS Pro users, which is (I think) currently shipping with Python 3.7.11, so those users may come across it. Best solution would be for Esri to update their Python version to something newer.
https://support.esri.com/en/technical-article/000013224

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31140>
_______________________________________


More information about the Python-bugs-list mailing list