[Checkins] SVN: zope.security/trunk/ Fixed a regression introduced in 3.8.1: ``zope.location`` 's LocationProxy did not get a security checker if ``zope.security.decorator`` was not imported manually. Now ``zope.security.decorator`` is imported in ``zope.security.proxy`` without re-introducing the circular import fixed in 3.8.1.

Wolfgang Schnerring ws at gocept.com
Sat Sep 24 02:13:59 EST 2011


* Michael Howitz <mh-w5oghCfH6z/QT0dZR+AlfA at public.gmane.org> [2011-09-24 07:36]:
> Log message for revision 122915:
>   Fixed a regression introduced in 3.8.1: ``zope.location`` 's
>   LocationProxy did not get a security checker if
>   ``zope.security.decorator`` was not imported manually. Now
>   ``zope.security.decorator`` is imported in ``zope.security.proxy``
>   without re-introducing the circular import fixed in 3.8.1.

I'd really like if there was a test for this behaviour, i.e. that
LocationProxy gets Security-annotated or whathaveyou, so it doesn't
accidentally break again. Could that go into zope.security (since it
depends on zope.location anyway)?

Wolfgang


More information about the checkins mailing list