summaryrefslogtreecommitdiff
path: root/CHANGES.rst
diff options
context:
space:
mode:
authorBert JW Regeer <xistence@0x58.com>2020-01-05 20:02:26 -0800
committerGitHub <noreply@github.com>2020-01-05 20:02:26 -0800
commit5702c3c3a4357a6071c9ba624a89655209548336 (patch)
treebc8d03a5c7927ea3ae2a868fd5af8e1a2cff7c6b /CHANGES.rst
parent148cf5138638ce6b1b92b4e13fe1444df9451e34 (diff)
parent5cad7ad7ce47f1fe151b40ae9398fb5cbbfd3806 (diff)
downloadpyramid-5702c3c3a4357a6071c9ba624a89655209548336.tar.gz
pyramid-5702c3c3a4357a6071c9ba624a89655209548336.tar.bz2
pyramid-5702c3c3a4357a6071c9ba624a89655209548336.zip
Merge pull request #3559 from mmerickel/settable-properties
allow overriding synthesized properties
Diffstat (limited to 'CHANGES.rst')
-rw-r--r--CHANGES.rst7
1 files changed, 7 insertions, 0 deletions
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
------------