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 asvetlov
Recipients asvetlov, mooncell07, yselivanov
Date 2022-01-26.17:03:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643216593.34.0.088898330656.issue46487@roundup.psfhosted.org>
In-reply-to
Content
Technically it should not provide the method according to the current design.
get_write_buffer_limits() is not a part of public transports API, this method is defined by private class _FlowControlMixin only.

WriteTransport requires only get_write_buffer_size() and set_write_buffer_limits() *setter* but not get_write_buffer_limits() getter.

I agree, looks weird.
The best solution maybe is adding get_write_buffer_limits() to WriteTransport definition and documenting the change.

Would you prepare a pull request? I'm happy to review/merge it.
History
Date User Action Args
2022-01-26 17:03:13asvetlovsetrecipients: + asvetlov, yselivanov, mooncell07
2022-01-26 17:03:13asvetlovsetmessageid: <1643216593.34.0.088898330656.issue46487@roundup.psfhosted.org>
2022-01-26 17:03:13asvetlovlinkissue46487 messages
2022-01-26 17:03:13asvetlovcreate