- 19 Dec, 2013 1 commit
-
-
Marius Gedminas authored
Try to preemptively answer hypothetical questions like Why can't I just ``` class Proxy(object): def __init__(self, obj): self.__obj = obj def __getattr__(self, a): return getattr(self.__obj, a) def __setattr__(self, a, v): setattr(self.__obj, a, v) ```
-
- 10 Jul, 2013 1 commit
-
-
Tres Seaver authored
-
- 13 Mar, 2013 1 commit
-
-
Tres Seaver authored
Test this case under both Python 2.7 and 3.3.
-
- 12 Mar, 2013 1 commit
-
-
Marius Gedminas authored
-
- 11 Mar, 2013 3 commits
-
-
Stephan Richter authored
-
Stephan Richter authored
-
Stephan Richter authored
``PyProxyBase._wrapped.__iter__`` if available, otherwise fall back to Python internals. The previous implementation always created a generator. - Fixed ``PyProxyBase.__setattr__()`` to allow setting of properties on the proxy itself. This is needed to properly allow proxy extensions as was evidenced int he ``zope.security.decorator`` module.
-
- 04 Mar, 2013 1 commit
-
-
Stephan Richter authored
-
- 11 Jan, 2013 1 commit
-
-
Tres Seaver authored
- Denominate files to indicate ReST. - Drop .bzrignore. - Add MANIFEST.in FBO users w/o setuptools_git.
-
- 08 Jan, 2013 1 commit
-
-
Tres Seaver authored
-
- 31 Dec, 2012 3 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
-
- 19 Dec, 2012 4 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
except under Python 2.6. N.B. This change is an ABI incompatibility under Python 2.7: extensions built under Python 2.7 against 4.0.x versions of ``zope.proxy`` must be rebuilt. Bump target version to '4.1.0' to signal BBB issue. Enable compilation of dependent modules under Py3k.
-
Marius Gedminas authored
-
- 21 Nov, 2012 5 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
-
- 07 Jun, 2012 1 commit
-
-
Tres Seaver authored
-
- 06 Jun, 2012 17 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
Folks who need that hiding have to stick to CPython.
-
Tres Seaver authored
-
Tres Seaver authored
Now that we have the gnarly '__getattribute__', we *can* tell that lie.
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
Python 2.7 adds B&D checks which break for the C wrapper.
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
This version passes all tests except the one which asserts that the proxy can lie about its '__class__', which can't be done in Python.
-