[Checkins] [zopefoundation/zope.proxy] 720b67: Fix indexing pure-Python proxies on Py3, and resto...
GitHub
noreply at github.com
Wed Sep 13 14:37:48 CEST 2017
Branch: refs/heads/master
Home: https://github.com/zopefoundation/zope.proxy
Commit: 720b67f120316ae7930a001334098e90e4eb23e9
https://github.com/zopefoundation/zope.proxy/commit/720b67f120316ae7930a001334098e90e4eb23e9
Author: Jason Madden <jamadden at gmail.com>
Date: 2017-09-12 (Tue, 12 Sep 2017)
Changed paths:
M CHANGES.rst
M src/zope/proxy/__init__.py
M src/zope/proxy/_zope_proxy_proxy.c
M src/zope/proxy/tests/test_proxy.py
M tox.ini
Log Message:
-----------
Fix indexing pure-Python proxies on Py3, and restore __getslice__ on Py2
Fixes #21.
This removes the special cases for lists and tuples in the C code (but
requires an #if Python 2 block). Tests are added (and generalized for
Python 3). I verified that this fixes the issues observed in the
zope.security tests.
Commit: 13f4adb145c23912edc3bf69bb612c097c8bb828
https://github.com/zopefoundation/zope.proxy/commit/13f4adb145c23912edc3bf69bb612c097c8bb828
Author: Jason Madden <jason+github at nextthought.com>
Date: 2017-09-13 (Wed, 13 Sep 2017)
Changed paths:
M CHANGES.rst
M src/zope/proxy/__init__.py
M src/zope/proxy/_zope_proxy_proxy.c
M src/zope/proxy/tests/test_proxy.py
M tox.ini
Log Message:
-----------
Merge pull request #22 from zopefoundation/issue21
Fix indexing pure-Python proxies on Py3, and restore __getslice__ on Py2
Compare: https://github.com/zopefoundation/zope.proxy/compare/4d430612493c...13f4adb145c2
More information about the checkins
mailing list