Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

You can implement it yourself.

_all = all
def all(obj):
    if isinstance(obj, range):
        return 0 not in obj
    return _all(obj)

I do not see reasons to do this in the stdlib.

----------
nosy: +serhiy.storchaka
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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

Reply via email to