Issue #22068: Don't create self reference cycles in idlelib.ConfigDialog.