Is there any case where len(someObj) does not call someObj's __len__ function?
Difference between len() and .__len__()?
Using len() in a string Python size() and len() for list of list How does len work? Why does my class's p.length() return None? Why does s[len(s)-1:-1:-1] not work? Why is "if not someobj:" better than "if someobj == None:" in Python? len(n) x len(m) array in NumPy TypeError:"object of type 'int' has no len()", even though I don't use the function "len()" Difference between Len and Print Len() Using len function in pandas Difference between a[len(a):] = [x] and a[len(a)] = [x] Object of type 'int' has no len Why no len(file) in Python? How create a __len__ function on __init__? Which gives better performance: len(a[:-1]) or len(a)-1 For sets S and T, why does Python's S -= T take O(len(T)) and not O(len(S))? Can't use len() on map() Why is Python's 'len' function faster than the __len__ method? Using len() and def __len__(self): to build a class Python, len function In python, what does len(list) do? if len(list) in Python Python len() not good Why doesn't len(None) return 0? Why can't I find `len(list)` in Python? Why len(list) instead of list.len() in python? Why does python list does not have len() method Python len() function adding 1 more python len function question