Revert "Revert "python26: don't link objects to readline and ncurses sim...

...ultaneously""

This reverts commit d2a06f482ac60ac85479eb67dfb300f13a2de2bc.