Complaint Dept: My shoes!

aflinsch avflinsch at att.net
Fri Apr 14 10:36:18 EDT 2000


musingattheruins at my-deja.com 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