[Zope3-dev] simpleTraverse raises NameError?
Stefan H. Holek
stefan at epy.co.at
Wed Nov 16 06:55:54 EST 2005
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
>
More information about the Zope3-dev
mailing list