Complaint Dept: My shoes!

aflinsch avflinsch at
Fri Apr 14 16:36:18 CEST 2000

musingattheruins at wrote:
> If shoe is None then len(shoe) raises an exception.  Would be nice if
> len(None) was 0 and NOT raise an exeption.

I think I would prefer it if len(None) returned None. Makes a bit more
sense to me having an unsized object return None, rather than zero.

More information about the Python-list mailing list