Python extension to properly integrate libedit for tab completion services