Bug Description

When I run py-execute-buffer with split and switch activated I end up with 3 instead of two buffer windows. E.g., when I have a python script buffer A as my only displayed buffer and press C-c C-c the result is a copy of A below (by vertical split window) and a buffer containing the python shell on the left.