Yury Selivanov <yseliva...@gmail.com> added the comment:
> Deprecating Event.wait would be incorrect because Event was designed to mimic
> the threading.Event class which has a (blocking) wait() method.
This is rather important. I'd like to continue maintaining this similarity.
Adding 'await event' would be similar (in a way) to making instances of
threading.Event callable. So deprecation of '.wait()' isn't something we will
Having *both* 'await event.wait()' and 'await event' worries me. IMO the
slight readability improvement isn't worth the added complexity.
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list