SF bug #769142:  CallTip trimming may loop forever.

Needs to be backported to both IDLE and IDLEFORK.
1 file changed