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

This reverts commit c6dada25110350b140ceaa978cdc230272a87fdb.