Thanks for the reply Stephan,

So there are basically 2 options

a) Add NameError to Undefs
b) Make simpleTraverse raise AttributeError instead

I am all for b) because an AttributeError it is, IMO

Stefan


On Sat, 12 Nov 2005, Stephan Richter wrote:

> On Sunday 23 October 2005 03:12, Stefan H. Holek wrote:
> > So, is there or would this qualify as a bug? There is a test that  
> > seems to point to some use with regard to namespaces, but I don't see  
> > how this wouldn't work just as well with AttributeError.
>
> I definitely think this is a bug. I guess the | operator should simply also
> know how to deal with NameError. Stefan, it would be great if you could fix
> this or at least file a bug report.
>
> Regards,
> Stephan
> --
> Stephan Richter
> CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
> Web2k - Web Software Design, Development and Training
>

_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to