[issue35355] Some Errors involving formatted strings aren't reported in the right place.

Terry J. Reedy report at bugs.python.org
Thu Nov 29 16:49:26 EST 2018


Terry J. Reedy <tjreedy at udel.edu> added the comment:

Evan, IDLE runs your code with the Python running IDLE.  Bad tracebacks are created by Python and are usually, as in this case, the fault of Python.  To decide, run your code directly with Python, at a command line, instead of indirectly with IDLE, and see if you get the same problem.  

In this case, I ran, on Windows, in Command Prompt, 'py -m a.tem3', where 'py' defaults to python 3.7.1 and 'a' is a directory on sys.path.

----------
assignee: terry.reedy -> 
components:  -IDLE
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list