(Sorry Eli for sending below to only you personally.
Resending to debbugs)
-------
Just found that the breakage is more extensive.
Start emacs28 with -Q
M-x run-python
The "Complete" "In/Out" and "Signals" menus are all broken
Other menus fine
ie Those define-keys are not needed to experience the breakage