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 martin.panter
Recipients David.Sankel, Drekin, Jonitis, akira, amaury.forgeotdarc, berker.peksag, christoph, davidsarah, dead1ne, eryksun, escapewindow, ezio.melotti, flox, giampaolo.rodola, gurnec, hippietrail, lemburg, lilydjwg, mark, martin.panter, mhammond, ncoghlan, ned.deily, paul.moore, piotr.dobrogost, pitrou, python-dev, santoso.wijaya, smerlin, steve.dower, stijn, terry.reedy, tim.golden, tzot, v+python, wiz21
Date 2016-09-10.00:30:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473467401.99.0.489305764964.issue1602@psf.upfronthosting.co.za>
In-reply-to
Content
Okay so regarding blocking reads with a full buffer, what you are saying is the second check to break the read loop should be sufficient:

+/* If the buffer ended with a newline, break out */
+if (buf[*readlen - 1] == '\n')
+    break;
History
Date User Action Args
2016-09-10 00:30:02martin.pantersetrecipients: + martin.panter, lemburg, mhammond, terry.reedy, paul.moore, tzot, amaury.forgeotdarc, ncoghlan, pitrou, giampaolo.rodola, tim.golden, mark, ned.deily, christoph, ezio.melotti, v+python, hippietrail, flox, davidsarah, santoso.wijaya, akira, David.Sankel, python-dev, smerlin, lilydjwg, berker.peksag, piotr.dobrogost, eryksun, Drekin, steve.dower, wiz21, stijn, Jonitis, gurnec, escapewindow, dead1ne
2016-09-10 00:30:01martin.pantersetmessageid: <1473467401.99.0.489305764964.issue1602@psf.upfronthosting.co.za>
2016-09-10 00:30:01martin.panterlinkissue1602 messages
2016-09-10 00:30:01martin.pantercreate