[Zope] Test whether ZClass lines type property is empty
   
    Milos Prudek
     
    milos.prudek@tiscali.cz
       
    Fri, 05 Oct 2001 15:23:52 +0200
    
    
  
complaw@hal-pc.org wrote:
> 
> I've had this problem too.
> 
> Instead of checking for length, I check to see if the first
> item on the list is <> ''.  If there is nothing in the first
> item, then I assume that it is an empty list.  For the most
> part, the assumption is valid.
Yeah, I do that, too. 
In a February 2001 message Dieter Maurer said that this behaviour is an
"implementation artefact". IMHO there are either features or bugs. Is
this a feature or a bug? IMHO it is an API bug.
--
Milos Prudek