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 giampaolo.rodola
Recipients akuchling, giampaolo.rodola, josiahcarlson, klimkin, mkc
Date 2008-02-13.16:45:11
SpamBayes Score 0.009861224
Marked as misclassified No
Message-id <1202921118.9.0.760443106939.issue2073@psf.upfronthosting.co.za>
In-reply-to
Content
> The value is used there, but this is not effective in causing larger
> packets to be sent, which I noticed by watching with strace.  I think
> the reason for this is that 'refill_buffer' will only make at most one
> call to simple_producer.more, and that call will produce at most 512
> bytes, because that's the default value of that argument, and its not
> overridden in the call that creates the simple_producer inside of 
> 'push'.

Sorry, you're right. 
I remember now that I reported a similar thing in bug #1736190:
http://bugs.python.org/msg57581

> In addition, I see at least one other place in the code where the
> constant '512' appears.

Where? Aside from simple_producer.__init__ I don't see other places
where it is used.
History
Date User Action Args
2008-02-13 16:45:20giampaolo.rodolasetspambayes_score: 0.00986122 -> 0.009861224
recipients: + giampaolo.rodola, akuchling, mkc, josiahcarlson, klimkin
2008-02-13 16:45:18giampaolo.rodolasetspambayes_score: 0.00986122 -> 0.00986122
messageid: <1202921118.9.0.760443106939.issue2073@psf.upfronthosting.co.za>
2008-02-13 16:45:14giampaolo.rodolalinkissue2073 messages
2008-02-13 16:45:12giampaolo.rodolacreate