- Update to version 5.4.0
* Disable unsafe math optimizations in C code. See pull request 89.
- Update to version 5.3.0
* Allow calling bound methods of some built-in objects such as ().__repr__ and {}.__repr__ by default.
This worked on Python 2, but raised ForbiddenAttribute on Python 3. See issue 75.
* Remove usage of unittest.makeSuite as it is deprecated in Python 3.11+. See issue 83.
* Add support for Python 3.11 (as of 3.11.0a7).
OBS-URL: https://build.opensuse.org/request/show/1004192
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=17
- update to version 4.3.1
* Fix the decimal.Decimal checker, __truediv__ was missing
causing ForbiddenAttribute on a ProxyFactory(Decimal('1')) / 1
operation
4.3.0
* Add the interface ISystemPrincipal and make
zope.security.management.system_user a regular object that
implements this interface.
4.2*
* Add support for Python 3.7.
* Make the pure-Python proxy on Python 2 not check permissions for
__unicode__ 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.
* Fix the default values for Permission fields title and
description under Python 2.
* Change the IPermission.id from Text (unicode) to a
NativeStringLine.
* Fix the extremely rare potential for a crash when the C
extensions are in use.
* The pure-Python proxy didn’t propagate TypeError from __repr__
and __str__ like the C implementation did.
* Iteration of zope.interface.providedBy() is now allowed by
default on all versions of Python.
* Drop support for Python 3.3.
* Respect PURE_PYTHON at runtime.
* Fix watching checkers (ZOPE_WATCH_CHECKERS=1) in pure-Python
mode.
- Fix tests using multibuild (can be dropped in the future).
OBS-URL: https://build.opensuse.org/request/show/692314
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=7