# py-indent-or-complete leaves the *Python Completion* buffer open

I experience when using TAB bound to py-indent-or-complete that it gives me completion suggestions. however when leaving, or deciding the completion, the *Python Completion* buffer is left open instead of getting buried. I also experience that after tab completing the word at point a newline is needlessly inserted moving me one line down.

What are the underlying settings to configure these two things when using py-indent-or-complete?