Rather than changing Protocols and affecting lots of users, it seems like was
you really want is a generic class that is the "and" to Union's "or"? e.g.
def foo(thing: All[Thread, SupportsStop]):
...
which seems reasonable. If that appeals to you, then you probably want to raise
that on the typing thread?
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/JV3OYN5LXNMHBOT5RGEFHXSQYFKNB2EB/
Code of Conduct: http://python.org/psf/codeofconduct/