summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Attempt to fix appveyor failing with AttributeError: '_NamespacePath' ↵issue27Jason Madden2017-08-301-4/+6
| | | | object has no attribute 'sort' on 3.5/3.6
* install setuptools by itself on travisJason Madden2017-08-301-1/+2
| | | | The upgrade step is breaking on Python 3.6. See https://travis-ci.org/zopefoundation/zope.security/jobs/270003178
* Fix proxying of providedBy on Python 3 and fix __length_hint__Jason Madden2017-08-305-37/+227
| | | | | | | | | | | | | | | | | 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-172-1/+6
|
* Prep 4.1.1 release.4.1.1Tres Seaver2017-05-172-3/+3
|
* Merge pull request #24 from zopefoundation/fix-ordered-dict-checkerJason Madden2017-05-173-30/+64
|\ | | | | OrderedDict, BTree and dict all iterate the same way.
| * OrderedDict, BTree and dict all iterate the same way.fix-ordered-dict-checkerJason Madden2017-05-173-30/+64
|/ | | | | | | | | | | 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.
* Merge pull request #22 from zopefoundation/issue20-extensionJason Madden2017-05-023-3/+10
|\ | | | | Be specific that BTrees.keys and .values also are fixed
| * Be specific that BTrees.keys and .values also are fixed in the same way that ↵issue20-extensionJason Madden2017-04-263-3/+10
|/ | | | .items was. See #20 and #21.
* svbTres Seaver2017-04-242-1/+6
|
* Prep 4.1.0 release.4.1.0Tres Seaver2017-04-242-8/+5
|
* Merge pull request #21 from zopefoundation/issue20Jason Madden2017-04-247-50/+115
|\ | | | | Fix iteration of BTrees.items() in pure-python; and 3.6 support
| * Another crack at fixing the Python 3 namespace issues on appveyorissue20Jason Madden2017-04-241-1/+2
| |
| * Fix iteration of BTrees.items() in pure-python; and 3.6 supportJason Madden2017-04-247-50/+114
|/ | | | | | | | | | | | | | | 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.
* Merge pull request #18 from zopefoundation/fix-win64-maybeMarius Gedminas2016-06-062-2/+30
|\ | | | | Fix tests on 64-bit Windows
| * Appveyor: enable pure-Python buildsfix-win64-maybeMarius Gedminas2016-06-061-0/+2
| |
| * Fix test failures on 64-bit WindowsMarius Gedminas2016-06-061-2/+4
| | | | | | | | | | | | Hopefully. Appveyor should tell me if I've succeeded. Fixes #17.
| * Enable Appveyor CIMarius Gedminas2016-06-061-0/+24
|/
* Remove already done todosMichael Howitz2016-05-101-10/+0
|
* update bootstrap.pyAdam Groszer2016-04-201-15/+36
|
* Merge pull request #16 from ↵Tres Seaver2016-04-152-1/+6
|\ | | | | | | | | zopefoundation/avoid-poisoning-wheel-cache-python-pure Don't use/poison global wheel cache when building w/ PURE_PYTHON.
| * Don't use/poison global wheel cache when building w/ PURE_PYTHON.avoid-poisoning-wheel-cache-python-pureTres Seaver2016-04-142-1/+6
|/
* Merge pull request #15 from zopefoundation/drop-py26-py32-supportTres Seaver2016-03-234-11/+9
|\ | | | | Drop support for Python 2.6 and 3.2.
| * 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-234-10/+8
|/
* Merge pull request #14 from felixonmars/masterMarius Gedminas2015-11-075-3/+8
|\ | | | | Note explicit support for Python 3.5
| * Note explicit support for Python 3.5Felix Yan2015-11-085-3/+8
|/
* svbTres Seaver2015-06-022-1/+6
|
* Prep 4.0.3 release.4.0.3Tres Seaver2015-06-022-2/+2
|
* Merge branch 'NextThought-pypy-support'Tres Seaver2015-06-023-108/+118
|\
| * Garden changelog.Tres Seaver2015-06-021-102/+103
| |
| * Changelog.Jason Madden2015-06-021-1/+2
| |
| * Merge branch 'master' of https://github.com/zopefoundation/zope.security ↵Jason Madden2015-06-025-11/+23
| |\ | |/ |/| | | into pypy-support
* | Merge pull request #12 from NextThought/pypy-supportTres Seaver2015-06-021-0/+16
|\ \ | | | | | | Skip the failing class-hashing tests under PyPy 2.5.0. Fixes #11.
* | | svbTres Seaver2015-06-022-1/+6
| | |
* | | Prep 4.0.2 release.4.0.2Tres Seaver2015-06-022-2/+2
| | |
* | | Switch to using 'tox' on Travis.Tres Seaver2015-06-011-7/+14
| | | | | | | | | | | | | | | Add tests for 'py27-pure', 'py33-pure', 'py34', 'coverage', and 'docs' builds.
* | | Fix 'py27-pure'/'py33-pure' tox environments.Tres Seaver2015-06-012-2/+2
| | |
* | | Merge pull request #11 from NextThought/pypy-supportTres Seaver2015-06-013-15/+60
|\ \ \ | | | | | | | | Compatibility with zope.proxy 4.1.5 under PyPy.
| | | * Make iteration over security-proxied items work under Python3 using the ↵Jason Madden2015-06-022-7/+15
| | |/ | | | | | | | | | pure-python implementation. Fixes zopefoundation/zope.component#16.
| | * Skip the failing class-hashing tests under PyPy 2.5.0. Fixes #11.Jason Madden2015-06-021-0/+16
| |/
| * Restore dict access of __builtins__ for non-PyPy. Interesting that it ↵Jason Madden2015-05-311-1/+4
| | | | | | | | doesn't fail interactively though.
| * If the very first call to removeSecurityProxy was given a proxy, the results ↵Jason Madden2015-05-313-12/+31
| | | | | | | | would be wrong under PyPy. See zopefoundation/zope.pagetemplate#4
| * Let z.s.checker.Global objects be pickled when security-proxied under PyPy ↵Jason Madden2015-05-272-4/+27
|/ | | | with zope.proxy 4.1.5
* Add PyPI and RTD badges.Tres Seaver2015-01-281-0/+8
|
* Add RTD dependencies.Tres Seaver2015-01-281-0/+8
|
* Add hacking docs.Tres Seaver2015-01-242-0/+370
|
* Silence Sphinx warning.Tres Seaver2015-01-221-0/+0
|
* Add Travis badge, garden ReST.Tres Seaver2014-12-292-2/+7
| | | | [ci skip]
* Bow to our new PEP 440 overlords.Tres Seaver2014-12-291-1/+1
| | | | [ci skip]