[Zope3-dev] two small bugs in zc.relationship

Benji York benji at zope.com
Mon Jul 2 08:30:47 EDT 2007


Markus Kemmerling wrote:
> But I wouldn't have expected a  
> non built-in type, that *also* supports the mapping API, to be  
> considered as `False` as long as the mapping is empty ...

Built-in or otherwise, empty containers are almost universally "false" 
in Python.
-- 
Benji York
Senior Software Engineer
Zope Corporation


More information about the Zope3-dev mailing list