[Python-Dev] modifying input behavior with PyOS_ReadlineFunctionPointer