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 terry.reedy
Recipients berker.peksag, gregory.p.smith, orsenthil, terry.reedy, zveinn
Date 2021-03-05.20:57:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1614977848.1.0.660702542779.issue43332@roundup.psfhosted.org>
In-reply-to
Content
I changed the title to what a PR/commit title should look like.  Your justification is that "Multiple writes possibly cause excessive network usage and increased implementation complexity on the other end."

I see no problem with the formatting of your first post.

I presume the proposal is to make a list of bytes and then b''.join(the_list).  This is now a standard idiom.  Have you tested a patch locally?  Can you make a PR?

I don't know if there was a particular reason to not join before sending.  Perhaps because successive sends effectively do the same thing, though with the possible  downsides you note.  I am not an expert on network usage.

The _connect method was added by Senthil Kumaran in 2009 in #1424152 and revised since.  There is no current http maintainer, so I added as nosy  Senthil and others who have worked on the module.
History
Date User Action Args
2021-03-05 20:57:28terry.reedysetrecipients: + terry.reedy, gregory.p.smith, orsenthil, berker.peksag, zveinn
2021-03-05 20:57:28terry.reedysetmessageid: <1614977848.1.0.660702542779.issue43332@roundup.psfhosted.org>
2021-03-05 20:57:28terry.reedylinkissue43332 messages
2021-03-05 20:57:27terry.reedycreate