[issue13342] input() builtin always uses "strict" error handler
Antoine Pitrou
report at bugs.python.org
Fri Nov 4 18:25:46 CET 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
Here is a patch. The bugfix itself is quite pedestrian, but the test is more interesting. I did what I could to fork a subprocess into a pseudoterminal so as to trigger the GNU readline code path. The only limitation I've found is that I'm unable to read further on the child's stdout after input() has been called. The test therefore uses a pipe to do the return checking.
----------
keywords: +patch
nosy: +neologix
stage: needs patch -> patch review
Added file: http://bugs.python.org/file23610/input_readline.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13342>
_______________________________________
More information about the Python-bugs-list
mailing list