0.12dev: Work around a new default of readline 6, which is to add a space after completion when a single item is returned. This setting is unfortunately not available through the `readline` module, and Python is not yet patched to restore the old behavior (and old versions probably never will be).