[issue11650] CTRL-Z causes interpreter exit
Steffen Daode Nurpmeso
report at bugs.python.org
Wed Mar 23 21:24:28 CET 2011
Steffen Daode Nurpmeso <sdaoden at googlemail.com> added the comment:
[versions=Python 3.2,Python 3.1,Python 2.7;nosy:+akuchling]
In-Reply-To: <1300905126.96.36.199975942018.issue11650 at psf.upfronthosting.co.za>
On Wed, Mar 23, 2011 at 06:32:43PM +0000, Charles-Francois Natali wrote:
> my_fgets Parser/myreadline.c patch should fix it.
Wish i would always find things worked out when i come home :).
(And would have taken a long time for me to come to Parser/,
i think, so, even more thanks for the patch, Charles-Francois!)
The Apple-shipped Python's (2.5, 2.6) work correct, but my
self-compiled 2.7 and unpatched 3.3 do not.
My self-compiled backward-test 3.2rc2 works, and you are right,
Davide, that has readline.so, the others not.
(Building of the readline module requires either MacOS X magic or
setting of the MACOSX_DEPLOYMENT_TARGET= configure variable,
though; Ronald and Ned have worked on that on PyCon (#11485), but
this is not yet included and so...)
And regardless of all that my_fgets() reacts falsely (in respect
to it's own preceeding comment), so this is a bug, no?
I make Andrew M. Kuchling nosy, he committed 5fcb0e0be89e.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list