| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Note support for PyPy.pure_python_proxy | Tres Seaver | 2013-03-11 | 2 | -1/+4 |
| | | |||||
| * | Add test environments for the PURE_PYTHON environment variable. | Tres Seaver | 2013-03-11 | 2 | -2/+18 |
| | | | | | Get the one test which failed under that environment to pass. | ||||
| * | - Make sure that __str__ and __repr__ never fail by catching all exceptions | Stephan Richter | 2013-03-11 | 5 | -15/+22 |
| | | | | | | | | | | | | | | | | and using the custom fallback. (This is equivalent to the C Proxy behavior.) - Allow __getslice__ and __setslice__ to access the original object's implementation instead of always falling back to __getitem__ and __setitem__. Do we really want to support this or just remove the test? (It is deprecated this Python 2.0!) - Make sure that Checker.set_permissions is set initiated as an empty dict, if not provided. While not immediately obvious, this is the C-based checker behavior as well. Oh yeah, all tests pass now on py26, py27, py32, py33, and pypy! | ||||
| * | Changed strategy to hide wrapped to not use the secret anymore, but look | Stephan Richter | 2013-03-11 | 4 | -59/+80 |
| | | | | | | | | | | | at the frames. This fixes a bunch of issues when actually doing binary ops (for which I added a test now). __len__ must return a non-proxied object, so I added a new parameter to the name check wrapper to handle that case. Fixed all but 12 test failures on PyPy. | ||||
| * | Actually made the security proxy secure by not allowing access to | Stephan Richter | 2013-03-11 | 2 | -15/+30 |
| | | | | | _wrapped and _checker. | ||||
| * | Start of PyPy support. | Stephan Richter | 2013-03-11 | 6 | -18/+35 |
| | | |||||
| * | Implemented rich comparison operators as non-checked, which is what the C | Stephan Richter | 2013-03-10 | 1 | -16/+65 |
| | | | | | | | | | | implementation does. Implemented __coerce__() in a special way, since _check_name did not work for some reason. All tests pass on Python 2.7. | ||||
| * | Change the test expectation that was failing for the C and Py proxy | Stephan Richter | 2013-03-10 | 1 | -1/+1 |
| | | | | | version. | ||||
| * | Fixed all attr access: __getattr__, __setattr__, __delattr__. | Stephan Richter | 2013-03-10 | 1 | -2/+11 |
| | | | | | | The main work consisted of making sure that access is allowed and that results are also proxied. | ||||
| * | Implemented proper handling when __str__ and __repr__ are not allowed. In | Stephan Richter | 2013-03-10 | 2 | -4/+32 |
| | | | | | | those cases we do not want to fail with a cryptic error, but provide an informative output. | ||||
| * | Fixed power tests by disabling the ones for PyProxy that expected | Stephan Richter | 2013-03-10 | 1 | -12/+25 |
| | | | | | | | | | | | | | 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. | ||||
| * | Make sure we use the API to create a new proxy. The tests depend on that | Stephan Richter | 2013-03-10 | 1 | -1/+1 |
| | | | | | expectation. | ||||
| * | Avoid overwriting of checked name when tests compare. Strangely, only the | Stephan Richter | 2013-03-08 | 1 | -1/+5 |
| | | | | | | Python proxy implementation is affected. I am not sure why __eq__ is not looked up during test output comparison with C-based proxies. | ||||
| * | I think I fixed some tests. Tres, can you review? | Stephan Richter | 2013-03-08 | 2 | -4/+4 |
| | | |||||
| * | Restore 100% coverage. | Tres Seaver | 2013-03-08 | 2 | -3/+34 |
| | | | | | Some tests are still failing. :( | ||||
| * | Merge branch 'master' into pure_python_proxy | Tres Seaver | 2013-03-08 | 19 | -211/+325 |
| |\ | |||||
| | * | Fix ImportError: cannot import name _checkers | Marius Gedminas | 2013-03-08 | 1 | -5/+6 |
| | | | | | | | | | | | The problem was a local variable `m` was being clobbered by importing 3rd party modules between the new location of MOD_DEF() and actual use. | ||||
| | * | fixed extension compilation on windows python 3.x | agroszer | 2013-03-07 | 1 | -1/+1 |
| | | | |||||
| | * | Fix build error with MSVC++ on Python 3 | Adam Groszer | 2013-03-07 | 2 | -12/+12 |
| | | | |||||
| | * | Add zope.testrunner dep to make Travis happy. | Stephan Richter | 2013-03-05 | 1 | -2/+3 |
| | | | |||||
| | * | 'Updated Travis YAML.' | Stephan Richter | 2013-03-04 | 1 | -0/+12 |
| | | | |||||
| | * | Back to development: 4.0.0a6 | Stephan Richter | 2013-02-28 | 2 | -1/+7 |
| | | | |||||
| | * | Preparing release 4.0.0a54.0.0a5 | Stephan Richter | 2013-02-28 | 2 | -2/+2 |
| | | | |||||
| | * | - Undo changes from 4.0.0a4. Instead, ``zope.untrustedpython`` is only | Stephan Richter | 2013-02-28 | 3 | -2/+5 |
| | | | | | | | | | included during Python 2 installs. | ||||
| | * | Back to development: 4.0.0a5 | Stephan Richter | 2013-02-28 | 2 | -1/+7 |
| | | | |||||
| | * | Preparing release 4.0.0a44.0.0a4 | Stephan Richter | 2013-02-28 | 1 | -1/+1 |
| | | | |||||
| | * | Make the CHANGES zest.releaser friendly and move TODOs to separate file. | Stephan Richter | 2013-02-28 | 2 | -11/+10 |
| | | | |||||
| | * | - Remove ``untrustedpython`` extra again, since we do not want to support | Stephan Richter | 2013-02-28 | 6 | -84/+7 |
| | | | | | | | | | | | ``zope.untrustedpython`` in ZTK 2.0. If BBB is really needed, we will create a 3.10.0 release. | ||||
| | * | Python-3.3 compatibility for examples | Andrey Lebedev | 2013-02-20 | 1 | -1/+1 |
| | | | |||||
| | * | Releasing 4.0.0a4 | Andrey Lebedev | 2013-02-19 | 1 | -1/+1 |
| | | | |||||
| | * | Merge branch 'moretests' | Andrey Lebedev | 2013-02-19 | 8 | -110/+99 |
| | |\ | |||||
| | | * | Use python3.3 to run documentation testsmoretests | Andrey Lebedev | 2013-02-19 | 5 | -85/+13 |
| | | | | |||||
| | | * | Dictionary views are not proxied | Andrey Lebedev | 2013-02-19 | 2 | -36/+49 |
| | | | | | | | | | | | | | | | | Dict views for keys(), items(), and values() are not proxied, making dicts work in python3 exactly as python2. | ||||
| | | * | More tests are running under python-3 | Andrey Lebedev | 2013-02-19 | 6 | -72/+120 |
| | | | | | | | | | | | | | | | | | | | Include documentation doctests into main test suite. Documentation is updated to be valid under python-3 and some critical bugs in python-3 are revealed. | ||||
| | * | | Try to make the tests pass on Windows | Marius Gedminas | 2013-02-19 | 1 | -2/+14 |
| | |/ | |||||
| | * | Fold in post-3.8.3, pre-4.0 changelog entries from release branches. | Tres Seaver | 2013-02-16 | 1 | -0/+18 |
| | | | |||||
| | * | svb | Tres Seaver | 2013-02-15 | 2 | -1/+12 |
| | | | |||||
| | * | Prep 4.0.0a3 release.4.0.0a3 | Tres Seaver | 2013-02-15 | 2 | -2/+2 |
| | | | |||||
| | * | Fix test breakage under 4.0.0a2 due to deprecation strategy. | Tres Seaver | 2013-02-15 | 6 | -26/+32 |
| | | | |||||
| | * | svb | Tres Seaver | 2013-02-15 | 2 | -1/+12 |
| | | | |||||
| | * | Prep 4.0.0a2 release.4.0.0a2 | Tres Seaver | 2013-02-15 | 2 | -9/+8 |
| | | | |||||
| | * | Restore deprecated BBB imports of z.s.untrustedpython modules. | Tres Seaver | 2013-02-15 | 4 | -0/+71 |
| | | | |||||
| | * | Fix nondeterministic test failures | Marius Gedminas | 2013-02-15 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | This fixes three test failures I've seen on Python 3.3: test_allow_w_single_interface test_require_w_set_schema_normal_fields test_require_w_single_interface All caused by dictionary iteration returning items in a different order than the test expected. | ||||
| | * | Update to latest v2 bootstrap | Marius Gedminas | 2013-02-15 | 1 | -70/+116 |
| | | | | | | | | | Downloaded from http://downloads.buildout.org/2/bootstrap.py | ||||
| * | | Checkpoint to ask for help. | Tres Seaver | 2013-02-14 | 2 | -9/+205 |
| |/ | |||||
| * | Coverage for C implementation of z.s.proxy.Proxy. | Tres Seaver | 2013-02-14 | 2 | -1/+1283 |
| | | |||||
| * | svb | Tres Seaver | 2013-02-14 | 2 | -1/+13 |
| | | |||||
| * | Prep 4.0.0a1 release.4.0.0a1 | Tres Seaver | 2013-02-14 | 2 | -3/+3 |
| | | | | | Alpha because we don't yet have PyPy support. | ||||
| * | Note Py3k support. | Tres Seaver | 2013-02-13 | 3 | -1/+10 |
| | | | | | | | | Add Trove classifiers for supported versions. Note that PyPy is not yet supported: we need a pure-Python version of the _proxy and _zope_security_checker implementations. | ||||
| * | Suppress Py3k nannyisms. | Tres Seaver | 2013-02-13 | 5 | -107/+107 |
| | | |||||
