summaryrefslogtreecommitdiff
path: root/CHANGES.rst
Commit message (Collapse)AuthorAgeFilesLines
* Decimal checker: __truediv__ was missing, also added tests, did some cleanupadamg-truediv-missingAdam Groszer2019-01-031-1/+2
|
* Back to development: 4.3.1Jason Madden2018-08-241-0/+6
|
* Preparing release 4.3.04.3.0Jason Madden2018-08-241-1/+1
|
* Add ``ISystemPrincipal`` and make ``system_user`` a regular object that ↵feature/system-user-regular-objectJason Madden2018-08-201-1/+4
| | | | | | implements it This facilitates adding adapter registrations for the system user.
* Back to development: 4.2.4Marius Gedminas2018-08-091-0/+6
|
* Preparing release 4.2.34.2.3Marius Gedminas2018-08-091-1/+1
|
* Back to development: 4.2.3Marius Gedminas2018-08-091-2/+6
|
* Reconcile git historyMarius Gedminas2018-08-091-1/+1
|\ | | | | | | | | The 4.2.2 release was made off a branch that was never merged back into master!
| * Preparing release 4.2.24.2.2Jason Madden2018-01-111-1/+1
| |
* | Add Python 3.7 supportMarius Gedminas2018-08-081-0/+2
|/
* Fixes #10: Pure-python proxies don't check __unicode__Jason Madden2018-01-111-1/+7
| | | | | | | | | Just like the C implementation. Note that ``__str__`` is checked for both implementations on both Python 2 and 3, but if there is no ``__unicode__`` method defined, Python 2's automatic fallback to ``__str__`` is **not** checked when ``unicode`` is called. Add tests for these cases.
* Back to development: 4.2.2Jason Madden2017-11-301-0/+6
|
* Preparing release 4.2.14.2.1Jason Madden2017-11-301-1/+1
|
* Fix link in changelog.Jason Madden2017-11-301-1/+1
|
* Fix default values for Permission's title and description in Py2issue48Jason Madden2017-11-301-1/+7
| | | | | | | | | | And test this. This applies to both the class and the ZCML directive. Also adjust IPermission to use NativeStringLine for ``id``, since that's what ZCML has always been creating (it uses an Id, which subclasses NativeStringLine), and what's typically written in source code. Test that the permissions created from ZCML are valid with this change.
* Back to development: 4.2.1Jason Madden2017-09-201-0/+6
|
* Preparing release 4.2.04.2.0Jason Madden2017-09-201-1/+1
|
* 100% coverage for testing.pyJason Madden2017-09-121-1/+4
|
* 100% coverage for proxy.pyJason Madden2017-09-121-0/+4
| | | | | | - The implementation of __getattribute__/__getattr__ now behaves like C and will not call a target's version of those functions more than once if they raise an AttributeError.
* Coverage for get/setslice, length_hint, and comparison methods in proxy.pyJason Madden2017-09-121-1/+6
|
* Badges and fixes for README and CHANGES.Jason Madden2017-09-111-47/+48
|
* Remove unused and broken zope.security.setup.Jason Madden2017-09-111-0/+2
|
* Remove unused internal files from tests/Jason Madden2017-09-111-0/+2
|
* Use features and an optional_build_extissue33bJason Madden2017-09-111-1/+3
| | | | | | | | | Just like zope.interface (copied from there). Fixes #33. This should eliminate any chance of polluting (local) wheel caches if PURE_PYTHON happens to be defined.
* Merge pull request #37 from zopefoundation/issue35Jason Madden2017-09-111-0/+3
|\ | | | | call PyObject_GC_UnTrack() in tp_dealloc()
| * call PyObject_GC_UnTrack() in tp_dealloc()KIMURA Chikahiro2017-09-111-0/+3
| | | | | | | | | | | | | | | | | | see the following sites for details: * https://bugs.python.org/issue31095 * https://github.com/python/cpython/pull/2974 Fixes #35.
* | Fix ZOPE_WATCH_CHECKERS=1 in pure-Python mode.Jason Madden2017-09-111-0/+3
|/ | | | | | Fixes #8. Test environments still to come.
* Respect PURE_PYTHON at runtime. Partial fix for #33.issue33aJason Madden2017-09-081-0/+3
|
* Use importlib.reload instead of imp.reload.Jason Madden2017-09-081-0/+3
| | | | | | | | | | | Some minor cleanups and simplifications to test_proxy.py: - use loadTestsFromName() and wrap the conditional test in @unittest.skipIf. This gets environments closer to running the same number of tests, which helps when comparing to make sure nothing gets skipped. - Break compound assertions in test_coerce out into separate assertions for ease of reading and debuging.
* Merge pull request #31 from zopefoundation/issue7Jason Madden2017-09-081-0/+5
|\ | | | | Fix TypeError handling for ProxyPy.
| * Fix TypeError handling for ProxyPy.issue7Jason Madden2017-09-071-0/+5
| | | | | | | | | | | | | | Also add additional tests clarifying how the str-to-repr fallthrough works. Fixes #7
* | Allow iteration of all the custom itertools types.issue9Jason Madden2017-09-071-1/+3
| |
* | Fix issue 9: add default checkers for itertools.groupbyJason Madden2017-09-071-0/+4
|/ | | | | | | | | Also rename all the test classes in test_checker for consistency. I changed the test_suite function to not call them out by name and noticed the number of tests run dropped. At first I thought it had something to do with test class names or inheritance, so I made them all consistent. But it turned out that the manual list actually had some duplicates in it.
* Switch to modern 'coverage' environment and run doctests on all versionsJason Madden2017-09-071-0/+5
| | | | | | | | | | | | | | Based on #29. Drop Python 3.3. Enable coveralls on Travis CI, and also fix using interpreters that aren't there in the new default 'trusty' image. Coverage is not at 100% and in fact appears to have dropped (I show 92% in one run, vs the previous reported 97%), but that's because `coverage` and coveralls report files that aren't even imported (we have a lot of those in the 'tests' package)...nosetests didn't.
* Fix proxying of providedBy on Python 3 and fix __length_hint__Jason Madden2017-08-301-1/+8
| | | | | | | | | | | | | | | | | Fixes #27. Add special cases to defaultCheckers for the two types of objects that can be returned from zope.interface.providedBy. On Python 2, these were never proxied, but on Python 3 they were. Now it's consistent (they're never proxied). (Using an _iteratorChecker for them would be a breaking change because the results of iterating them would be security proxied interface objects that don't compare equally.) Also fix `__length_hint__` while we're at it. Previously it was ignored because it is looked up on the type of the object, and proxy didn't implement that. So implement it, and add it to the list of names allowed for iterators.
* svbTres Seaver2017-05-171-0/+5
|
* Prep 4.1.1 release.4.1.1Tres Seaver2017-05-171-2/+2
|
* OrderedDict, BTree and dict all iterate the same way.fix-ordered-dict-checkerJason Madden2017-05-171-1/+6
| | | | | | | | | | | Fixes #23. Also a further fix for #20 (you couldn't iterate a BTree all by itself). Refactor the test case for BTree to be a shared implementation and confirm that it works as expected for dict, using the actual dict checker. Then apply it to OrderedDict and BTree and fix the resulting failures by refactoring the fixup in checker.py to a shared implementation and applying it.
* Be specific that BTrees.keys and .values also are fixed in the same way that ↵issue20-extensionJason Madden2017-04-261-1/+1
| | | | .items was. See #20 and #21.
* svbTres Seaver2017-04-241-0/+5
|
* Prep 4.1.0 release.4.1.0Tres Seaver2017-04-241-7/+4
|
* Fix iteration of BTrees.items() in pure-python; and 3.6 supportJason Madden2017-04-241-1/+8
| | | | | | | | | | | | | | | Also fix ``list(proxy_btree.items())`` (or a list comprehension of the same) in Python 3, which wants the ``__len__`` for a hint. This is a central place to make sure these all behave consistently. Fixes #20 Also drop pypy3 As a 3.2 implementation, it's not supported by pip anymore. There is a much more recent version, 3.5-beta, but it's not on Travis yet. The 3.3-alpha which is on Travis is a dead end.
* Don't use/poison global wheel cache when building w/ PURE_PYTHON.avoid-poisoning-wheel-cache-python-pureTres Seaver2016-04-141-0/+3
|
* Bump version in CHANGES.rst to match setup.py.drop-py26-py32-supportTres Seaver2016-03-231-1/+1
|
* Drop support for Python 2.6 and 3.2.Tres Seaver2016-03-231-1/+3
|
* Note explicit support for Python 3.5Felix Yan2015-11-081-1/+1
|
* svbTres Seaver2015-06-021-0/+5
|
* Prep 4.0.3 release.4.0.3Tres Seaver2015-06-021-1/+1
|
* Garden changelog.Tres Seaver2015-06-021-102/+103
|
* Changelog.Jason Madden2015-06-021-1/+2
|