This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sdaoden
Recipients davide.rizzo, ezio.melotti, neologix, sdaoden, vstinner
Date 2011-03-23.20:24:27
SpamBayes Score 9.103829e-14
Marked as misclassified No
Message-id <20110323202418.GJ33873@sherwood.local>
In-reply-to
Content
[versions=Python 3.2,Python 3.1,Python 2.7;nosy:+akuchling]
Reply-To: 
In-Reply-To: <72975942018.issue11650@psf.upfronthosting.co.za">1300905163.47.0.72975942018.issue11650@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.

Works perfect! 
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.
History
Date User Action Args
2011-03-23 20:24:28sdaodensetrecipients: + sdaoden, vstinner, ezio.melotti, neologix, davide.rizzo
2011-03-23 20:24:28sdaodenlinkissue11650 messages
2011-03-23 20:24:27sdaodencreate