checking if a list is empty

Terry Reedy tjreedy at udel.edu
Thu May 12 18:00:11 EDT 2011


On 5/12/2011 3:37 PM, Terry Reedy wrote:
> On 5/11/2011 8:26 AM, Roy Smith wrote:
>
>> I conclude that li == [] should have returned False. Either I'm not
>> understanding things correctly, or this is a bug.
>
> The doc is wrong (and not only on this). I am working on a report with
> suggested fixes. Will post number when finish.
>
http://bugs.python.org/issue12067

-- 
Terry Jan Reedy




More information about the Python-list mailing list