E. Paine <paineeli...@gmail.com> added the comment:
This isn't an IDLE issue and is instead due to the core interpreter. This isn't a bug, there just isn't a more specialised error message for the dictionary unpacking failure. Changing the error message to something more helpful would be an enhancement and therefore would not be back-ported to Python 3.9 and before. ---------- components: +Interpreter Core -IDLE nosy: +epaine title: IDLE highlights wrong place when code has syntax error of ** unpacking dict in f-string -> Specialise syntax error of ** unpacking dict type: behavior -> enhancement versions: +Python 3.10 -Python 3.7, Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41064> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com