Noticed a bug with latest changes:
When, in Python, I'm typing False and getting an (only) suggestion with it, the suggestion popup doesn't disappear once I've typed whole word. It did before those changes.

Originally posted by @rchl in #866 (comment)