[issue38979] ContextVar[str] should return ContextVar class, not None

Andrew Svetlov report at bugs.python.org
Sat Dec 7 05:28:55 EST 2019


Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:

I think it should look like the corresponding function from multidict: https://github.com/aio-libs/multidict/blob/master/multidict/_multidict.c#L803-L808

Please note, the method definition also should be updated, see https://github.com/aio-libs/multidict/blob/master/multidict/_multidict.c#L923-L928 for inspiration.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38979>
_______________________________________


More information about the Python-bugs-list mailing list