[Checkins] [zopefoundation/zope.security] 896504: Make sure we use the API to create a new proxy. Th...

GitHub noreply at github.com
Mon Mar 11 00:59:11 UTC 2013


  Branch: refs/heads/pure_python_proxy
  Home:   https://github.com/zopefoundation/zope.security
  Commit: 8965042862f5eda3e5cfeda2671c772a46fb7bc9
      https://github.com/zopefoundation/zope.security/commit/8965042862f5eda3e5cfeda2671c772a46fb7bc9
  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:
  -----------
  Make sure we use the API to create a new proxy. The tests depend on that
expectation.


  Commit: ded617955b2dba40a1739cf27d155e7da3608644
      https://github.com/zopefoundation/zope.security/commit/ded617955b2dba40a1739cf27d155e7da3608644
  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:
  -----------
  Fixed power tests by disabling the ones for PyProxy that expected
behavior that cannot be created with a pure Python proxy implementation.

Undid one previous checking where the DummyChecker only records the first
checked name.

In several forbidden tests, add a few allowed names, since those are
needed to make the tests pass. In the Python version of the proxy, some
__<name>__ methods are used where the C implementation gets away without
them.


Compare: https://github.com/zopefoundation/zope.security/compare/676ee74eb275...ded617955b2d


More information about the checkins mailing list