Change by Ian Good :
--
nosy: +icgood
nosy_count: 9.0 -> 10.0
pull_requests: +30142
pull_request: https://github.com/python/cpython/pull/13143
___
Python tracker
<https://bugs.python.org/issu
Ian Good added the comment:
Julian,
That is certainly a workaround, however the behavior you are describing is
inconsistent with PEP-544 in both word and intention. From the PEP:
> To explicitly declare that a certain class implements a given protocol, it
> can be used as a regula
Ian Good added the comment:
I believe this was a deeper issue that affected all classes inheriting
Protocol, causing a TypeError on even the most basic case (see attached):
Traceback (most recent call last):
File "/.../test.py", line 14, in
MyClass()
File "/.../test.p
Ian Good added the comment:
#36889 was reverted, so this is not resolved.
I'm guessing this needs to be moved to 3.9 now too. Is my original PR worth
revisiting? https://github.com/python/cpython/pull/13143/files
--
resolution: fixed ->
status: closed
Change by Ian Good :
--
nosy: +icgood
___
Python tracker
<https://bugs.python.org/issue36889>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ian Good added the comment:
I added start_tls() to StreamWriter. My implementation returns a new
StreamWriter that should be used from then on, but it could be adapted to
modify the current writer in-place (let me know).
I've added docs, an integration test, and done some additional
Change by Ian Good :
--
keywords: +patch
pull_requests: +13056
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue34975>
___
___
Python-
New submission from Ian Good :
There does not seem to be a public API for replacing the transport of the
StreamReader / StreamWriter provided to the callback of a call to
asyncio.start_server().
The only way I have found to use the new SSL transport is to update protected
members of the