[Checkins] [zopefoundation/zope.proxy] 720b67: Fix indexing pure-Python proxies on Py3, and resto...
GitHub
noreply at github.com
Tue Sep 12 19:07:59 CEST 2017
Branch: refs/heads/issue21
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.
More information about the checkins
mailing list