[issue17620] Python interactive console doesn't use sys.stdin for input
Antoine Pitrou
report at bugs.python.org
Sat Aug 30 01:00:25 CEST 2014
Antoine Pitrou added the comment:
> 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.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17620>
_______________________________________
More information about the Python-bugs-list
mailing list