[New-bugs-announce] [issue46487] `_SSLProtocolTransport` doen't have the `get_write_buffer_limits` implementation.
report at bugs.python.org
Sun Jan 23 11:49:39 EST 2022
New submission from Nova <importz750 at gmail.com>:
When calling `get_write_buffer_limits` on a SSL transport the following exception is raised:
Traceback (most recent call last):
File "/home/mooncell/works/test.py", line 26, in <module>
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
File "/usr/lib/python3.10/asyncio/base_events.py", line 641, in run_until_complete
File "/home/mooncell/works/test.py", line 24, in main
File "/usr/lib/python3.10/asyncio/transports.py", line 306, in get_write_buffer_limits
return (self._low_water, self._high_water)
AttributeError: '_SSLProtocolTransport' object has no attribute '_low_water'. Did you mean: '_high_water'?
We looked into the implementation and found out that `_SSLProtocolTransport` didn't override the `_FlowControlMixin.get_write_buffer_limits`.
nosy: asvetlov, mooncell07, yselivanov
title: `_SSLProtocolTransport` doen't have the `get_write_buffer_limits` implementation.
versions: Python 3.10
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce