Yury Selivanov <yseliva...@gmail.com> added the comment:

> The nature of the `pending` method is to give to the developer a way to check 
> how many waiters are still pending. This not only helps to make this code 
> more explicit also other pieces of code that might need access to the length 
> of the waiters.

This also is a perfect way to introduce races in your code.  I'm going to 
reject this, sorry.  I've demonstrated that it's possible to do what you wanted 
to do without adding new functionality.

----------
resolution:  -> rejected
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue30457>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to