Terry J. Reedy <tjre...@udel.edu> added the comment:

On Windows, Victor's one liner failed on repository debug builds with Windows' 
process error popup.  I have seen this mysterious failure at least once when 
testing IDLE Shell running on the repository build.   After the patch, my debug 
build gives the correct message,
  SyntaxError: cannot assign to function call
and correctly points to the 's' of 'str' on the first line.  Ditto when run 
from IDLE's Shell or editor.  Thank you for the fix.

Installed Python 3.10.0a4, Jan 4, gives the correct message  but confusingly 
points at the final ']' on a line by itself.  The latter should be fixed in the 
next release.

----------
nosy: +terry.reedy

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42827>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to