From 1b555e2b7911bc3d8cee811986ec67c88fa36cad Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sun, 5 Jan 2020 18:57:39 -0600 Subject: add changelog for #3559 --- CHANGES.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'CHANGES.rst') diff --git a/CHANGES.rst b/CHANGES.rst index 383906e00..70ee43b96 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -71,6 +71,13 @@ Features - Fix ``DeprecationWarning`` emitted by using the ``imp`` module. See https://github.com/Pylons/pyramid/pull/3553 +- Properties created via ``config.add_request_method(..., property=True)`` or + ``request.set_property`` used to be readonly. They can now be overridden + via ``request.foo = ...`` and until the value is deleted it will return + the overridden value. This is most useful when mocking request properties + in testing. + See https://github.com/Pylons/pyramid/pull/3559 + Deprecations ------------ -- cgit v1.2.3