[issue11650] Faulty RESTART/EINTR handling in Parser/myreadline.c
Steffen Daode Nurpmeso
report at bugs.python.org
Fri Mar 25 14:21:07 CET 2011
Steffen Daode Nurpmeso <sdaoden at googlemail.com> added the comment:
On Fri, Mar 25, 2011 at 12:25:21PM +0000, Davide Rizzo wrote:
> Some remarks here:
> 1) the patch does fix it.
Yes!
I can't comment the rest except for what
.. function:: input([prompt])
states, which Davide surely have read himself.
Anyway it seems to be a good idea to replace parts of the code
where such severe bugs can sleep for such a long time.
This code will not be used automatically on, yes, *all* modern
UNIX platforms (don't let me think on what "modern" means here).
So if there are no dependencies i don't know of (but even without
knowing i would think there should be none - this is readline),
it seems that providing a simple Python-based fallback
implementation, which will use functions which themselves will be
used daily in real life, is a good idea.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11650>
_______________________________________
More information about the Python-bugs-list
mailing list