Message 226099 - Python tracker
> Why does PyOS_Readline return *char, rather than Python string object? For historical reasons and now for compatibility: we can't change the hook's signature without breaking obvious applications, obviously. If necessary, we could add a new hook that would take precedence over the old one if defined. Feel free to post a patch for that.