> > No. Tests like > > > if items: > > ... > > > to verify that items is a non-empty list are a widespread idiom in Python. > > They rely on the behaviour you observe. > > Are they widespread? I haven't noticed, yet.
It's the preferred form (as recommended by PEP 8). Raymond -- http://mail.python.org/mailman/listinfo/python-list