This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author taleinat
Recipients
Date 2006-12-09.17:33:39
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
This cause for this bug is an endless loop in AutoCompleteWindow.py, line 121:

114 selstart = self.completions[cursel]
[snip...]
121 while cursel > 0 and selstart[:i] <= self.completions[cursel-1]:
122     i += 1
123 newstart = selstart[:i]

The case where this loop becomes endless only arises when the same completion item appears twice in the completions list, thus self.completions[cursel-1] and self.completions[cursel] are identical.

This happens with the os module because spawnv and spawnve appear twice in os.__all__.

Solution:
1) Fix the potentially endless loop (add a bound for i)
2) Remove identical completion items from the completions list (its a bug anyways)
History
Date User Action Args
2007-08-23 14:43:27adminlinkissue1571112 messages
2007-08-23 14:43:27admincreate