On Thu, 2005-03-31 at 13:02 +0100, Chris Withers wrote:
> >> Would anyone object if I wrote tests and changed the implementation to 
> >> raise exceptions, including Unauthorized, instead of returning None?
> > 
> > Unauthorized in getObject is out of the question, that would be new 
> > behaviour.
> 
> Well, in 2.8, new behaviour is expected, right?
> I really passionately believe that we should not be returnining None in 
> Zope 2.8, and since 2.8 hasn't quite hit beta yet I'm very keen to see 
> it fixed asap.
> 
> Any objections?

No, I agree that it should raise Unauthorized. Just make sure that this
is communicated properly at release time.

-- 
Roché Compaan
Upfront Systems                 http://www.upfrontsystems.co.za

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to