New submission from Raymond Hettinger <[email protected]>:
I got this today running a stock Python 3.9.6 for macOS downloaded from
python.org.
-------------------------------------------------------------
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/tkinter/__init__.py",
line 1892, in __call__
return self.func(*args)
File
"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/idlelib/multicall.py",
line 176, in handler
r = l[i](event)
File
"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/idlelib/autocomplete_w.py",
line 350, in keypress_event
self.hide_window()
File
"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/idlelib/autocomplete_w.py",
line 463, in hide_window
self.widget.event_delete(HIDE_VIRTUAL_EVENT_NAME, seq)
File
"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/idlelib/multicall.py",
line 392, in event_delete
triplets.remove(triplet)
ValueError: list.remove(x): x not in list
----------
assignee: terry.reedy
components: IDLE
messages: 401782
nosy: rhettinger, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE should suppress ValueError for list.remove()
type: behavior
versions: Python 3.9
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue45197>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com