Steven Silvester added the comment:
The use case that prompted https://github.com/python/cpython/pull/31679 is that
we are adding typings to `PyMongo`. We are late to using typings, because we
only recently dropped Python 2.7 support.
We have an existing options class that subclasses
Steven Silvester added the comment:
I agree we're stuck with the typing stub workaround for our use case. We can
re-submit a "fix forward" PR.
--
___
Python tracker
<https://bugs.pyt
New submission from Steven Silvester :
When writing an `async` function, we often want to `await` a method call that
may or may not be `async`. For instance, it may be synchronous in the base
class, but asynchronous in the subclass on the instance we have been given. It
would be nice for
Steven Silvester added the comment:
Thanks for your consideration and for implementing the original feature!
--
___
Python tracker
<https://bugs.python.org/issue34