[Checkins] [zopefoundation/zope.security] 4d01d7: Fixed all attr access: __getattr__, __setattr__, _...

GitHub noreply at github.com
Mon Mar 11 03:28:51 UTC 2013


  Branch: refs/heads/pure_python_proxy
  Home:   https://github.com/zopefoundation/zope.security
  Commit: 4d01d7ff8cf8d4c657758d04b75aba7c0fdae97a
      https://github.com/zopefoundation/zope.security/commit/4d01d7ff8cf8d4c657758d04b75aba7c0fdae97a
  Author: Stephan Richter <stephan.richter at gmail.com>
  Date:   2013-03-10 (Sun, 10 Mar 2013)

  Changed paths:
    M src/zope/security/proxy.py

  Log Message:
  -----------
  Fixed all attr access: __getattr__, __setattr__, __delattr__.

The main work consisted of making sure that access is allowed and that
results are also proxied.


  Commit: bf5748bf463bb8238cfa9b96cd08131bfb12b48d
      https://github.com/zopefoundation/zope.security/commit/bf5748bf463bb8238cfa9b96cd08131bfb12b48d
  Author: Stephan Richter <stephan.richter at gmail.com>
  Date:   2013-03-10 (Sun, 10 Mar 2013)

  Changed paths:
    M src/zope/security/tests/test_proxy.py

  Log Message:
  -----------
  Change the test expectation that was failing for the C and Py proxy
version.


  Commit: f421e5b218f080f580d2b490b04575dc787165c3
      https://github.com/zopefoundation/zope.security/commit/f421e5b218f080f580d2b490b04575dc787165c3
  Author: Stephan Richter <stephan.richter at gmail.com>
  Date:   2013-03-10 (Sun, 10 Mar 2013)

  Changed paths:
    M src/zope/security/proxy.py

  Log Message:
  -----------
  Implemented rich comparison operators as non-checked, which is what the C
implementation does.

Implemented __coerce__() in a special way, since _check_name did not work
for some reason.

All tests pass on Python 2.7.


Compare: https://github.com/zopefoundation/zope.security/compare/19f01d59f4b4...f421e5b218f0


More information about the checkins mailing list