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 vstinner
Recipients gvanrossum, vstinner, wabu, yselivanov
Date 2014-10-21.21:10:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1413925847.41.0.87950118786.issue22685@psf.upfronthosting.co.za>
In-reply-to
Content
Ok, I just missed completly the Guido posted a patch before me... Maybe we wrote the patch at the same time, I didn't refresh my browser :-)

> Victor, do you think this needs a unittest? It seems kind of difficult to
test for whether memory fills up (the machine may get wedged if it does :-).

Since the pause/resume thing is very tricky, it would be much better to have a unit test. We can probably mock a lot of things, we just need to check that the stream reader calls transport.pause_reading() when feed_data() is called with "too much" data.
History
Date User Action Args
2014-10-21 21:10:47vstinnersetrecipients: + vstinner, gvanrossum, yselivanov, wabu
2014-10-21 21:10:47vstinnersetmessageid: <1413925847.41.0.87950118786.issue22685@psf.upfronthosting.co.za>
2014-10-21 21:10:47vstinnerlinkissue22685 messages
2014-10-21 21:10:47vstinnercreate