Python's all docs are misleading
Going by the documentation for all, one would think all iterables will early return.
The following code will throw an AttributeError on the last item of the list iteratable.
def bad_all(o: object, att: str, l: list):
if all([o is not None, getat...
blog.danwald.me1 min read